当前位置:首页 > 教程 > 正文内容

首次安装宝塔面板如何挂载数据盘教程

xiaolan2个月前 (06-06)教程

通过ssh终端连接到云服务器中

第一步,根据您安装的操作系统选择以下命令(宝塔一键挂载数据盘脚本):

Centos系统请使用以下命令:

yum install wget -y && wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh

Ubuntu系统请使用以下命令:

wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && sudo bash auto_disk.sh

Debian系统请使用以下命令:

wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh

这里以centos为例,复制执行

yum install wget -y && wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh

第三步,确认数据盘是否挂载成功,执行以下命令:

df -hl

250619132816.png

扫描二维码推送至手机访问。

版权声明:本文由云畅博客发布,如需转载请注明出处。

本文链接:https://yc852.com/post/12.html

分享给朋友:

发表评论

访客

看不清,换一张

◎欢迎参与讨论,请在这里发表您的看法和观点。