WordPress knowledge sharing

Pagoda Linux Panel Commands

Weieis blog has been introducing the pagoda Linux panel. For many novices, visualizing the Linux panel is really a blessing, while for advanced veterans, command line is sometimes needed to assist operations. Today reprint the official Pagoda Linux Panel Commands , leave a record that can be searched quickly for friends in need.

Lao Wei suggested that the pagoda panel is suitable for novices and Xiaobai to build a website, and supports Linux and Windows systems, Click to go directly to the pagoda website
Pagoda Linux Enterprise Edition Click Direct
Pagoda Linux Professional Click Direct
Pagoda Nginx firewall Click Direct
Pagoda Windows Enterprise Edition Click Direct
Rui Anxin DV SSL Certificate Click Direct
Recommended selection of pagoda panel Alibaba Cloud Tencent Cloud The server
For more information, see Special topic of pagoda panel
Click to view NetEase Cloud Classroom "Introduction to Pagoda Linux Panel for Novice"

Install the pagoda

Centos installation script

 yum install -y wget && wget -O install.sh  https://download.bt.cn/install/install.sh  && sh install.sh

Ubuntu/Deepin installation script

 wget -O install.sh  https://download.bt.cn/install/install-ubuntu.sh  && sudo bash install.sh

Debian installation script

 wget -O install.sh  https://download.bt.cn/install/install-ubuntu.sh  && bash install.sh

Fedora installation script

 wget -O install.sh  https://download.bt.cn/install/install.sh  && bash install.sh

Management pagoda

stop it

 service bt stop

start-up

 service bt start

restart

 service bt restart

uninstall

 service bt stop && chkconfig --del bt && rm -f /etc/init.d/bt && rm -rf /www/server/panel

View the current panel port

 cat /www/server/panel/data/port.pl

Modify the panel port to 8881 (centos 6 system)

 echo '8881' > /www/server/panel/data/port.pl && service bt restart iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 8881 -j ACCEPT service iptables save service iptables restart

Modify the panel port to 8881 (centos 7 system)

 echo '8881' > /www/server/panel/data/port.pl && service bt restart firewall-cmd --permanent --zone=public --add-port=8881/tcp firewall-cmd --reload

Force the MySQL management (root) password to be changed to 123456

 cd /www/server/panel && python tools.pyc root 123456

Change the panel password to 123456

 cd /www/server/panel && python tools.pyc panel 123456

Site Profile Location

 /www/server/panel/vhost

Delete Domain Name Binding Panel

 rm -f /www/server/panel/data/domain.conf

Clear login restrictions

 rm -f /www/server/panel/data/*.login

View Panel Licensing 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 Log

 cat /tmp/panelBoot

View database error log

 cat /www/server/data/*.err

Site Profile 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-up

 service nginx start

stop it

 service nginx stop

restart

 service nginx restart

Start load

 service nginx reload

Nginx configuration file

 /www/server/nginx/conf/nginx.conf

Apache Service Management

Apache installation directory

 /www/server/httpsd

start-up

 service httpsd start

stop it

 service httpsd stop

restart

 service httpsd restart

Start load

 service httpsd reload

Apache configuration file

 /www/server/apache/conf/httpsd.conf

MySQL Service Management

MySQL installation directory

 /www/server/mysql

Phpmyadmin installation directory

 /www/server/phpmyadmin

Data store directory

 /www/server/data mysql

start-up

 service mysqld start

stop it

 service mysqld stop

restart

 service mysqld restart

Start load

 service mysqld reload

MySQL configuration file

 /etc/my.cnf

FTP Service Management

Ftp installation directory

 /www/server/pure-ftpd

start-up

 service pure-ftpd start

stop it

 service pure-ftpd stop

restart

 service pure-ftpd restart

Ftp configuration file

 /www/server/pure-ftpd/etc/pure-ftpd

PHP service management

Php installation directory

 /www/server/php

start-up (Please make changes according to the installed PHP version number, for example: service php fpm-54 start)

 servicephp-fpm-{52|53|54|55|56|70|71} start

stop it (Please make changes according to the installed PHP version number, for example: service php fpm-54 stop)

 service php-fpm-{52|53|54|55|56|70|71} stop

restart (Please make changes according to the installed PHP version number, for example: service php fpm-54 restart)

 service php-fpm-{52|53|54|55|56|70|71} restart

Start load (Please make changes according to the installed PHP version number, for example: service php fpm-54 reload)

 service php-fpm-{52|53|54|55|56|70|71} reload

configuration file (Please make changes according to the installed PHP version number, 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-up

 service redis start

stop it

 service redis stop

Redis configuration file

 /www/server/redis/redis.conf

Memcached Service Management

Memcached installation directory

 /usr/local/memcached

start-up

 service memcached start

stop it

 service memcached stop

restart

 service memcached restart

Start load

 service memcached reload
Like( zero )
Article name: Complete Command of Pagoda Linux Panel
Article link: https://www.vpsss.net/2884.html
Copyright notice: The resources of this website are only for personal learning and exchange, and are not allowed to be reproduced and used for commercial purposes, otherwise, legal issues will be borne by yourself.
The copyright of the pictures belongs to their respective creators, and the picture watermark is for the purpose of preventing unscrupulous people from stealing the fruits of labor.