Linux一键安装宝塔面板整理
Linux下安装宝塔面板,可以一键快速安装。不过,在安装宝塔之前,需要开通宝塔对应的端口;如果有数据盘需要挂载,还需要进行硬盘挂载操作。
下面,就把这些步骤统一整理出来,省去多次搜索了。
1、一键挂载硬盘(使用BT-Panel Linux自动磁盘挂载工具):
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
详细页面:https://www.bt.cn/bbs/thread-3187-1-1.html
2、宝塔安装完成后,阿里云、腾讯云和华为云等无法打开,添加端口的方法:
参考链接:
腾讯云:https://www.bt.cn/bbs/thread-1229-1-1.html
阿里云:https://www.bt.cn/bbs/thread-2897-1-1.html
华为云:https://www.bt.cn/bbs/thread-3923-1-1.html
3、以上步骤都配置完成,可以一键安装宝塔了,直接进入宝塔官网-》下载安装页面,选择Linux版本的命令,一键安装:
快捷网址:https://www.bt.cn/new/download.html