宝塔面板常用命令大全!

/etc/init。d/btstopchkconfig——删除btrm——f/etc/init。D/BTRM-rf/***/server/panelview当前面板端口cat/***/server/panel/data/portPL修改面板端口。如果要将其更改为8881(CentOS6系统),请回显’8881’/***/server/panel/data/portpl/etc/init。D/BT重新启动-I输入-PTCP-M状态-状态新建-MTCP–dport8881-Jacceptserviceiptabless*eserviceiptables重新启动修改面板端口。如果要将其更改为8881(CentOS7系统),请返回’8881’/***/server/panel/data/portpl/etc/init。D/BTrestartfirewallCMD–per*nent–AndyLau=public–addport=8881/tcpffirewallCMD–reloadforce更改MySQL管理(root)密码。如果要将其更改为123456cd/***/server/panelPythontoolsPyCroot123456,请修改面板密码。如果您想将其更改为123456cd/***/server/panelPythontoolsPyCpanel123456查看宝塔日志cat/TMP/panelbootPlview软件安装日志cat/TMP/panelexec日志站点配置文件位置/***/server/panel/Vhost删除域名绑定面板RM-F/***/server/panel/data/do*inConf清除登录限制RM-F/***/server/panel/data/*登录查看面板授权ipcat/***/server/panel/data/limitipConf关闭访问限制RM-F/***/server/panel/data/limitipConf查看许可证域名cat/***/server/panel/data/do*inConfclosepanelsslrm-F/***/server/panel/data/SSL/etc/init。D/BT重启视图面板错误日志cat/TMP/panelboot视图数据库错误日志cat/***/server/data/*Errsiteconfigurationfiledirectory(nginx)/***/server/panel/Vhost/nginxsiteconfigurationfiledirectory(APACHE)/***/server/panel/Vhost/APACHEsitedefaultdirectory/***/***wrootdatabasebackupdirectory/***/backup/databasesitebackupdirectory/***/backup/site/***/***logsnginx服务管理nginx安装目录/***/server/nginx/etc/initd/nginxstart/etc/init。d/nginxstop/etc/init。d/nginxrestart/etc/init。D/nginx重新加载nginx配置文件/***/server/nginx/conf/nginxconfApache服务管理Apache安装目录/***/server/httpd/etc/initD/httpdstart/etc/init。d/httpd停止/etc/init。d/httpd重启/etc/init。D/httpd-reloadacche配置文件/***/server/Apache/conf/httpd-conf-MySQL-service-*nagement-MySQL-installation-directory/***/server/mysqlphpmyadmin-installation-directory/***/server/phpMyAdmin-data-storage-directory/***/server/data/etc/initD/mysqld-start/etc/init。d/mysqld-stop/etc/init。d/mysqldrestart/etc/init。D/mysqld重新加载mysql配置文件/etc/myCnfftpservice*nagementFTP安装目录/***/server/pureftpd/etc/initD/pureftpdstart/etc/init。d/纯ftpd停止/etc/init。D/pure-ftpd-restartfp配置文件/***/server/pure-ftpd/etc/pure-ftpd-Conf-PHP服务管理PHP安装目录/***/server/PHP-startup(请根据安装的PHP版本号进行更改,例如:/etc/init.D/PHP-fpm-54start)/etc/initD/PHP-fpm-{52|53|54|55|56|70|71}开始-停止(请根据安装的PHP版本号进行更改,例如:/etc/init.d/PHP-fpm-54stop)/etc/initd/PHP-fpm-{52|53|54|55|56|70|71}停止重启(请根据安装的PHP版本号进行更改,例如:/etc/init.d/PHP-fpm-54重启)/etc/initd/PHP-fpm-{52|53|54|55|70|重启12471}(请根据安装的PHP版本号进行更改,例如:/etc/init.d/PHP-fpm-54reload)/etc/initd/PHPfpm-{52|53|54|55|56|70|71}重新加载配置文件(请根据安装的PHP版本号进行更改,例如:/***/server/PHP/52/etc/PHP.INI)/***/server/PHP/{52|53|54|55|56|70}/etc管理redis安装目录/***/server/redis/etc/initd/redisstart/etc/init。D/redisstopredis配置文件/***/server/redis/redisconfmemcached服务管理memcached安装目录/usr/local/memcached/etc/initD/memcachedstart/etc/init。d/memcachedstop/etc/init。d/memcachedrestart/etc/init。d/memcached重载

原文链接:https://www.3czol.com/CMSjiaocheng/39547.html

© 版权声明
THE END
喜欢就支持一下吧
点赞15 分享