Installing the Pagoda CentOS installation script
Yum install-y wget && wget-o install.sh http://download.bt.cn/install/install.sh && sh install.sh
Ubuntu/deepin Installation Scripts
Wget-o install.sh http://download.bt.cn/install/install-ubuntu.sh && sudo bash install.sh
Debian installation Scripts
Wget-o install.sh http://download.bt.cn/install/install-ubuntu.sh && bash install.sh
Fedora Installation Script
Wget-o install.sh http://download.bt.cn/install/install.sh && bash install.sh
Management Pagoda Stop
/ETC/INIT.D/BT stop
Start
/ETC/INIT.D/BT start
Restart
/ETC/INIT.D/BT restart
Unloading
/ETC/INIT.D/BT stop && chkconfig--del bt && rm-f/etc/init.d/bt && Rm-rf/www/server/panel
View current Panel ports
cat/www/server/panel/data/port.pl
Modify the panel port, if you want to change to 8881 (CentOS 6 system)
echo ' 8881 ' >/www/server/panel/data/port.pl &&/etc/init.d/bt restartiptables-i input-p tcp-m State--state New-m TCP--dport 8881-j acceptservice iptables saveservice iptables restart
Modify the panel port, if you want to change to 8881 (CentOS 7 system)
echo ' 8881 ' >/www/server/panel/data/port.pl &&/etc/init.d/bt restartfirewall-cmd--permanent--zone= Public--add-port=8881/tcpfirewall-cmd--reload
Force the MySQL admin (root) password to change to 123456
Cd/www/server/panel && python tools.pyc root 123456
Modify the panel password, if you want to change to 123456
Cd/www/server/panel && python tools.pyc panel 123456
View Pagoda Logs
cat/tmp/panelboot.pl
View Software Installation logs
Cat/tmp/panelexec.log
Site configuration file Location
/www/server/panel/vhost
Remove Domain name Bindings panel
Rm-f/www/server/panel/data/domain.conf
Clear Login Restrictions
Rm-f/www/server/panel/data/*.login
View Panel Authorization IP
Cat/www/server/panel/data/limitip.conf
Turn off access restrictions
Rm-f/www/server/panel/data/limitip.conf
View licensed domain names
Cat/www/server/panel/data/domain.conf
Close Panel SSL
Rm-f/www/server/panel/data/ssl.pl &&/etc/init.d/bt Restart
View Panel error logs
Cat/tmp/panelboot
To view the database error log
Cat/www/server/data/*.err
Site configuration file directory (Nginx)
/www/server/panel/vhost/nginx
Site configuration file directory (Apache)
/www/server/panel/vhost/apache
Site Default directory
/www/wwwroot
Database backup Directory
/www/backup/database
Site Backup Directory
/www/backup/site
Site Log
/www/wwwlogs
Nginx Service Management Nginx installation directory
/www/server/nginx
Start
/etc/init.d/nginx start
Stop it
/etc/init.d/nginx stop
Restart
/etc/init.d/nginx restart
Start load
/etc/init.d/nginx Reload
Nginx configuration file
/www/server/nginx/conf/nginx.conf
Apache Service Management Apache installation directory
/www/server/httpd
Start
/ETC/INIT.D/HTTPD start
Stop it
/ETC/INIT.D/HTTPD stop
Restart
/ETC/INIT.D/HTTPD restart
Start load
/ETC/INIT.D/HTTPD Reload
Apache configuration file
/www/server/apache/conf/httpd.conf
MySQL service management MySQL installation directory
/www/server/mysql
phpMyAdmin installation directory
/www/server/phpmyadmin
Data store Directory
/www/server/data
Start
/etc/init.d/mysqld start
Stop it
/etc/init.d/mysqld stop
Restart
/etc/init.d/mysqld restart
Start load
/etc/init.d/mysqld Reload
MySQL configuration file
/etc/my.cnf
FTP Service Administration FTP installation directory
/www/server/pure-ftpd
Start
/ETC/INIT.D/PURE-FTPD start
Stop it
/ETC/INIT.D/PURE-FTPD stop
Restart
/ETC/INIT.D/PURE-FTPD restart
FTP configuration file
/www/server/pure-ftpd/etc/pure-ftpd.conf
PHP Service Management PHP installation directory
/www/server/php
Start(Please make changes according to the installation PHP version number, for example:/etc/init.d/php-fpm-54 start)
/ETC/INIT.D/PHP-FPM-{52|53|54|55|56|70|71} start
Stop (make changes based on the version number of the PHP installation, for example:/etc/init.d/php-fpm-54 stop)
/ETC/INIT.D/PHP-FPM-{52|53|54|55|56|70|71} stop
Reboot (please make changes according to the version number of the PHP installation, for example:/etc/init.d/php-fpm-54 restart)
/ETC/INIT.D/PHP-FPM-{52|53|54|55|56|70|71} restart
reboot (please make changes according to the version number of the PHP installation, for example:/etc/init.d/php-fpm-54 reload)
/ETC/INIT.D/PHP-FPM-{52|53|54|55|56|70|71} Reload
configuration file (please make changes based on the version number of the PHP installation, for example:/www/server/php/52/etc/php.ini)
/www/server/php/{52|53|54|55|56|70|71}/etc/php.ini
Redis Service Management Redis installation directory
/www/server/redis
Start
/etc/init.d/redis start
Stop it
/etc/init.d/redis stop
Redis configuration file
/www/server/redis/redis.conf
Memcached Service Management memcached installation directory
/usr/local/memcached
Start
/etc/init.d/memcached start
Stop it
/etc/init.d/memcached stop
Restart
/etc/init.d/memcached restart
Start load
/etc/init.d/memcached Reload
Pagoda Linux Panel command Daquan