yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
Ubuntu/Deepin安装脚本
wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && sudo bash install.sh
wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && bash install.sh
wget -O install.sh http://download.bt.cn/install/install.sh && bash 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
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
echo '8881' > /www/server/panel/data/port.pl && /etc/init.d/bt restart
firewall-cmd --permanent --zone=public --add-port=8881/tcp
firewall-cmd --reload
cd /www/server/panel && python tools.py root 123456
cd /www/server/panel && python tools.py panel 123456
cat /tmp/panelBoot.pl
cat /tmp/panelExec.log
/www/server/panel/vhost
rm -f /www/server/panel/data/domain.conf
rm -f /www/server/panel/data/*.login
cat /www/server/panel/data/limitip.conf
rm -f /www/server/panel/data/limitip.conf
cat /www/server/panel/data/domain.conf
rm -f /www/server/panel/data/ssl.pl && /etc/init.d/bt restart
cat /tmp/panelBoot
上一个教程:Linux常用命令mkdir详解
下一个教程:Linux下查看CPU使用率的命令