如果我们选择的云服务器有单独的数据盘的,我们在配置服务器后需要挂载到指定的目录。对于挂载数据硬盘,还是需要一些技术的,这里我们可以用到一些工具自动挂载,这里我们可以用到这款工具。
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
执行以上代码过程中,系统会如下提示:
Do you want to try to mount the data disk to the /www directory? (y/n): y
我们输入y再按回车即可,然后就挂载好了,就是这么简单。
原创文章,转载请注明出处:https://www.itbulu.com/oneclick-mount.html
                

