1. 使用 SSH 连接工具,如使用堡塔SSH终端连接到您的 Linux 服务器后,挂载磁盘,根据系统执行相应命令开始安装(大约2分钟完成面板安装):
2. Centos安装脚本
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh ed8484bec
Ubuntu/Deepin安装脚本
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh ed8484bec
Debian安装脚本
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh ed8484bec
Fedora安装脚本
wget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.sh ed8484bec
注意:必须为没装过其它环境如Apache/Nginx/php/MySQL的新系统,推荐使用centos 7.X的系统安装宝塔面板
安装完成
查看访问宝塔地址: /etc/init.d/bt default
启动宝塔:/etc/init.d/bt start
停止宝塔:/etc/init.d/bt stop
重启宝塔:/etc/init.d/bt restart
卸载宝塔:/etc/init.d/bt stop && chkconfig --del bt && rm -f /etc/init.d/bt && rm -rf /www/server/panel
查看当前宝塔端口:cat /www/server/panel/data/port.pl
修改宝塔端口号:echo?'8881'?>?/www/server/panel/data/port.pl?&&?/etc/init.d/bt?restart
修改面板密码,如要改成spoony:cd /www/server/panel && python tools.py panel spoony查看宝塔日志:cat /tmp/panelBoot.pl