安装命令
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
 
 
管理宝塔
/etc/init.d/bt stop                         停止
 
/etc/init.d/bt start                         开启
 
/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                       查看当前面板端口
修改面板端口,如要改成8881(centos 6 系统)
 
echo '8881' > /www/server/panel/data/port.pl && /etc/init.d/bt restart
iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 8881 -j ACCEPT
service iptables save
service iptables restart
 

相关文章:

  • 2021-12-04
  • 2021-12-29
  • 2021-11-24
  • 2021-06-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-07
  • 2022-12-23
  • 2021-12-30
  • 2021-04-03
  • 2022-01-10
相关资源
相似解决方案