朱纯树博客
VPS测评推荐网站
cloudacead cloudacead

Linux宝塔面板如何挂载硬盘?BT宝塔面板磁盘挂载教程来了!

站长用的Linux centros版本 安装了宝塔面板,现把脚本公开吧,那么怎么挂载硬盘呢?宝塔面板官方有官方工具 还是很好用的
Linux宝塔面板如何挂载硬盘?BT宝塔面板磁盘挂载教程来了!

为解决这个问题,我们制作了磁盘自动挂载工具,支持Centos、Ubuntu、Debian、Fedora说明:
1:本工具默认将数据盘挂载到/www目录,前提你服务器得绑定一块附加硬盘,可以到云服务器商购买
2:若您的服务器之前安装过Windows系统,需要手动删除NTFS分区,挂载工具会直接跳过NTFS分区
3:若您的磁盘已分区,且未挂载,工具会自动将分区挂载到/www
4:若您的磁盘是新磁盘,工具会自动分区并格式化成ext4文件系统
5:本工具只自动挂载一个分区,若您有多块数据盘,请手动挂载未被自动挂载的磁盘

Centos/Fedora:

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

选择对应的系统,把自动挂载的代码复制到xshell里面按回车键执行即可。

赞(0) 打赏
未经允许不得转载:VPS测评推荐网站 - 朱纯树博客 » Linux宝塔面板如何挂载硬盘?BT宝塔面板磁盘挂载教程来了!

评论 38

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #45

    coursework writing service uk database coursework coursework download

  2. #44

    coursework download free coursework deutsch coursework buy uk

  3. #43

    coursework based degrees coursework lincoln coursework in marketing

  4. #42

    coursework def coursework vs thesis masters coursework grade boundaries

  5. #41

    lasix torsemide conversion Advise patients that any CNS active drug like bupropion may impair their ability to perform tasks requiring judgment or motor and cognitive skills

    Inpuncmut2周前 (11-23)回复
  6. #40

    coursework in a sentence coursework in academic
    writing coursework and thesis

  7. #39

    coursework at a college or university coursework writer coursework for high
    school

  8. #38

    Screening Screening is widely accepted, despite remaining doubts about overall benefit and cost effectiveness stromectol vs ivermectin

    Voppido2周前 (11-22)回复