[宝塔运维]最全的宝塔面板运维命令大全:管理宝塔的各种linux命令,宝塔专业破解版
20200720更新
安装专业宝塔
yum install -y wget && wget -O install.sh https://download.baotas.tech/install/install_6.0.sh && sh install.sh试验性Centos/Ubuntu/Debian安装命令 独立运行环境(py3.7) 可能存在少量兼容性问题 不断优化中
curl -sSO https://download.baotas.tech/install/install_panel.sh && bash install_panel.shll.shUbuntu/Deepin安装脚本
wget -O install.sh https://download.baotas.tech/install/install-ubuntu_6.0.sh && sudo bash install.shDebian安装脚本
wget -O install.sh https://download.baotas.tech/install/install-ubuntu_6.0.sh && bash install.shFedora安装脚本
wget -O install.sh https://download.baotas.tech/install/install_6.0.sh && bash install.shLinux面板7.4.2升级命令(已安装面板升级专业版)
wget -O /home/update6.sh https://download.baotas.tech/install/update6.sh && bash /home/update6.shNginx/Apache官方防火墙安装命令
直接面板安装防火墙使用!
安装企业宝塔
yum install -y wget && wget -O install.sh https://download.baotas.tech/ltd/install/install_6.0.sh && sh install.sh试验性Centos/Ubuntu/Debian安装命令 独立运行环境(py3.7) 可能存在少量兼容性问题 不断优化中
curl -sSO https://download.baotas.tech/install/install_panel.sh && bash install_panel.shll.shUbuntu/Deepin安装脚本
wget -O install.sh https://download.baotas.tech/ltd/install/install-ubuntu_6.0.sh && sudo bash install.shDebian安装脚本
wget -O install.sh https://download.baotas.tech/ltd/install/install-ubuntu_6.0.sh && bash install.shFedora安装脚本
wget -O install.sh https://download.baotas.tech/ltd/install/install_6.0.sh && bash install.shLinux面板7.4.2升级命令(已安装面板升级企业版)
wget -O /home/update6.sh https://download.baotas.tech/ltd/install/update6.sh && bash /home/update6.shNginx/Apache官方防火墙安装命令
直接面板安装防火墙使用!
第三方插件列表
等待发布~服务器日志分析与流量统计
等待发布~
安装5系旧版宝塔
管理宝塔
bt停止
/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修改面板端口,如要改成8881(centos 7 系统)
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强制修改MySQL管理(root)密码,如要改成123456
cd /www/server/panel && python tools.py root 123456修改面板密码,如要改成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查看面板授权IP
cat /www/server/panel/data/limitip.conf关闭访问限制
rm -f /www/server/panel/data/limitip.conf查看许可域名
cat /www/server/panel/data/domain.conf关闭面板SSL
rm -f /www/server/panel/data/ssl.pl && /etc/init.d/bt restart查看面板错误日志
cat /tmp/panelBoot查看数据库错误日志
cat /www/server/data/*.err站点配置文件目录(nginx)
/www/server/panel/vhost/nginx站点配置文件目录(apache)
/www/server/panel/vhost/apache站点默认目录
/www/wwwroot数据库备份目录
/www/backup/database站点备份目录
/www/backup/site站点日志
/www/wwwlogs
Nginx服务管理
/www/server/nginx启动
/etc/init.d/nginx start停止
/etc/init.d/nginx stop重启
/etc/init.d/nginx restart启载
/etc/init.d/nginx reloadnginx配置文件
/www/server/nginx/conf/nginx.conf
Apache服务管理
/www/server/httpd启动
/etc/init.d/httpd start停止
/etc/init.d/httpd stop重启
/etc/init.d/httpd restart启载
/etc/init.d/httpd reloadapache配置文件
/www/server/apache/conf/httpd.conf
MySQL服务管理
/www/server/mysqlphpmyadmin安装目录
/www/server/phpmyadmin数据存储目录
/www/server/data启动
/etc/init.d/mysqld start停止
/etc/init.d/mysqld stop重启
/etc/init.d/mysqld restart启载
/etc/init.d/mysqld reloadmysql配置文件
/etc/my.cnf
FTP服务管理
/www/server/pure-ftpd启动
/etc/init.d/pure-ftpd start停止
/etc/init.d/pure-ftpd stop重启
/etc/init.d/pure-ftpd restartftp配置文件
/www/server/pure-ftpd/etc/pure-ftpd.conf
PHP服务管理
/www/server/php启动(请根据安装PHP版本号做更改,例如:/etc/init.d/php-fpm-54 start)
/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} start
停止(请根据安装PHP版本号做更改,例如:/etc/init.d/php-fpm-54 stop)
/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} stop
重启(请根据安装PHP版本号做更改,例如:/etc/init.d/php-fpm-54 restart)
/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} restart
启载(请根据安装PHP版本号做更改,例如:/etc/init.d/php-fpm-54 reload)
/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} reload
配置文件(请根据安装PHP版本号做更改,例如:/www/server/php/52/etc/php.ini)
/www/server/php/{52|53|54|55|56|70|71|72|73|74}/etc/php.ini
Redis服务管理
/www/server/redis启动
/etc/init.d/redis start停止
/etc/init.d/redis stopredis配置文件
/www/server/redis/redis.conf
Memcached服务管理
/usr/local/memcached启动
/etc/init.d/memcached start停止
/etc/init.d/memcached stop重启
/etc/init.d/memcached restart启载
/etc/init.d/memcached reload
版权与免责声明:
凡注明稿件来源的内容均为转载稿或由网友用户注册发布,本网转载出于传递更多信息的目的;如转载稿涉及版权问题,请作者联系我们,同时对于用户评论等信息,本网并不意味着赞同其观点或证实其内容的真实性;

![英雄棋士团(预下载)?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/shouyoupic/yingxiongqishituanyuxiazai.jpg)
![美食小当家?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/shouyoupic/meishixiaodangjia.png)
![2047?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/shouyoupic/2047.jpg)
![荣誉指挥官(预下载)?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/shouyoupic/rongyuzhihuiguanyuxiazai.png)
![繁荣美食市场物语?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/shouyoupic/fanrongmeishishichangwuyu.jpg)
![夸克浏览器 v4.2.1.138 好用的手机浏览器?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/appimg/202007/kuakezuolanqi.jpg)
![移动办公软件 OfficeSuite Premium v10.18.28716 内购解锁版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/appimg/202007/yidongbangongruanjian.jpg)
![乐秀视频编辑器 VideoShow v8.8.4 内购解锁版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/appimg/202007/lexiushipinbianjiqi.png)
![X 浏览器 v3.3.9 一款小巧的安卓浏览器?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/appimg/202007/x.jpg)
![安卓密码管理软件 Enpass v6.4.5.368 内购解锁版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/appimg/202007/anzhuomimaguanliruanjian.jpg)
![差分复制同步 FastCopy-M v3.6.3.51 绿色便携版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/softimg/FastCopy3.png)
![多标签页拓展 Clover v3.5.2 Build 19809 精简绿色版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/softimg/Clover.png)
![文件重命名 Advanced Renamer v3.85 Lite 绿色便携版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/softimg/Advanced_Renamer.png)
![网络防火监控 GlassWire Elite v2.1.166 绿色便携版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/softimg/GlassWire.png)
![影音播放器 Daum Potplayer v1.7.20538 美化便携版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/softimg/PotPlayer.png)