CentOS:

yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh

Debian:

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

脚本是宝塔开发的,默认将数据盘挂载到/www目录

若磁盘已分区,且未挂载,工具会自动将分区挂载到/www
若磁盘是新磁盘,工具会自动分区并格式化成xfs/ext4文件系统

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-27
  • 2021-11-10
  • 2022-12-23
  • 2022-01-15
  • 2022-02-23
  • 2022-01-17
猜你喜欢
  • 2022-12-23
  • 2021-06-16
  • 2021-07-31
  • 2021-12-16
  • 2022-12-23
  • 2021-09-13
  • 2022-12-23
相关资源
相似解决方案