腾讯云: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
安装命令(需要检测是否含有yum支持)# CentOS 安装命令 yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh # Ubuntu/Deepin 安装命令 wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh # Debian 安装命令 wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh # Fedora 安装命令 wget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.sh # Linux 面板 7.4.5 升级命令 curl http://download.bt.cn/install/update6.sh|bash
Do you want to install Bt-Panel to the /www directory now?(y/n): y
提示你是否要安装,输入 y 回车。输入 y 之后它就会全自动搭建,稍等一到两分钟。安装完成后的反馈面板内容:
基本应用安装 LNMP 与 LAMPCongratulations! Install succeeded!
Bt-Panel: http://{IP地址}:8888
username: admin # 后面用来登录的用户名
password: 1f766591 # 登录的密码
Warning:
If you cannot access the panel,
release the following port (8888|888|80|443|20|21) in the security group
LAMP = Linux + Apache + Mysql + PHP
LNMP = Linux + Nginx + Mysql + PHP
要省内存的话 LNMP 是最好的选择,但似乎不太稳定。
静态的多用 LNMP 还是不错的;动态内容多的话,LAMP 还是最稳定的。
编译安装 极速安装编译安装也叫源码安装,宝塔官方给出的提示是 安装时间长(30-3小时)适合生产环境,极速安装也叫RPM安装,安装时间极快,性能与稳定性略低于编译安装。
对于新手站长们,如果时间允许的话,推荐使用编译安装。
宝塔面板网站开通 使用同一 IP 的不同端口创建网站参考文章:https://www.longkui.site/program/other/p12041/2586/
通过配置修改添加网站和端口-
修改默认目录(即/www/server/panel/vhost/nginx)下的 .conf 配置文件,修改端口和目录;
-
添加防火墙开放端口并重启防火墙
# 查看已开放的端口 firewall-cmd --list-ports # 添加单个端口 firewall-cmd --zone=public --add-port=8080/tcp --permanent # 重启防火墙 firewall-cmd --reload
service bt stop && rm -rf /www



