CentOS系统 宝塔数据盘不显示?挂载硬盘

文档创建者:admin
浏览次数:1939
最后更新:2023-03-03
Teaching 教程
Teaching 教程: Linux
CentOS系统 挂载硬盘命令

已安装宝塔或数据盘有数据 务必先做快照或数据备份
挂载后建议重启服务器检查是否挂载成功


Centos系统请使用以下命令:
  1. yum install wget -y && wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh
复制代码

Ubuntu系统请使用以下命令:
  1. wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && sudo bash auto_disk.sh
复制代码

Debian系统请使用以下命令:
  1. wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh
复制代码

提示:Do you want to try to mount the data disk to the /www directory?(y/n): 输入小写“y+回车键”等待完成即可!
请去宝塔官网获取最新脚本:https://www.bt.cn/bbs/thread-3187-1-1.html



您需要登录后才可以回帖 登录 | 立即注册

本版积分规则