关于我们

质量为本、客户为根、勇于拼搏、务实创新

< 返回新闻公共列表

linux系统下如果挂载数据盘命令是什么

发布时间:2020-05-27 09:44:43

说明:

1:本工具默认将数据盘挂载到/www目录

2:若您的磁盘已分区,且未挂载,工具会自动将分区挂载到/www

3:若您的磁盘是新磁盘,工具会自动分区并格式化成xfs/ext4文件系统

使用方法 :根据系统选择命令后进入ssh执行命令即可

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
复制代码




/template/Home/Zkeys/PC/Static