In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Bt(pagoda panel) panel is very easy to use, but we do not rule out the panel problems, can not log in, in this case we can only use ssh login to enter commands to solve a lot of problems, Xiaobian here collected a little common commands, but I see that they are also official. 56 cloud here is also a record, convenient for their usual reference.
1: Install pagoda
Pagoda Linux Panel 5.9 (stable version) Installation Command:
Centos Installation Script
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh 8c0882dde
Ubuntu/Deepin Installation Script
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh 8c0882dde
Debian installation scripts
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh 8c0882dde
Fedora Installation Script
wget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.sh 8c0882dde
II: Manage Pagoda Panel
Stop panel
/etc/init.d/bt stop
launch pad
/etc/init.d/bt start
Restart panel
/etc/init.d/bt restart
uninstall panel
/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, such as 8881 (centos 6 system)
start
Modify the panel port, such as 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
Forcibly modify MySQL admin (root) password, such as 123456
cd /www/server/panel && python tools.pyc root 123456
Modify the panel password, such as 123456
cd /www/server/panel && python tools.pyc panel 123456
View Pagoda Log
cat /tmp/panelBoot.pl
View software installation logs
cat /tmp/panelExec.log
Site Profile Location
/www/server/panel/vhost
Delete Domain Bindings Panel
rm -f /www/server/panel/data/domain.conf
Clear landing restrictions
rm -f /www/server/panel/data/*.login
View Panel Licensing IP
cat /www/server/panel/data/limitip.conf
Close 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 logs
cat /www/server/data/*.err
Site Profile Directory (nginx)
/www/server/panel/vhost/nginx
Site profile 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
Three: Nginx Service Management
nginx installation directory
/www/server/nginx
start
/etc/init.d/nginx start
stop
/etc/init.d/nginx stop
restart
/etc/init.d/nginx restart
start-up
/etc/init.d/nginx reload
nginx configuration file
/www/server/nginx/conf/nginx.conf
4: Apache Service Management
apache installation directory
/www/server/httpd
start
/etc/init.d/httpd start
stop
/etc/init.d/httpd stop
restart
/etc/init.d/httpd restart
start-up
/etc/init.d/httpd reload
Apache configuration file
/www/server/apache/conf/httpd.conf
5: 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
/etc/init.d/mysqld stop
restart
/etc/init.d/mysqld restart
start-up
/etc/init.d/mysqld reload
MySQL configuration file
/etc/my.cnf
VI: FTP Service Management
ftp installation directory
/www/server/pure-ftpd
start
/etc/init.d/pure-ftpd start
stop
/etc/init.d/pure-ftpd stop
restart
/etc/init.d/pure-ftpd restart
ftp profile
/www/server/pure-ftpd/etc/pure-ftpd.conf
Seven: PHP Service Management
php installation directory
/www/server/php
Start (please change according to the PHP version number installed, for example: /etc/init.d/php-fpm-54 start)
/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72} start
Stop (please change according to the PHP version number installed, for example: /etc/init.d/php-fpm-54 stop)
/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72} stop
Restart (please make changes according to the PHP version number installed, for example: /etc/init.d/php-fpm-54 restart)
/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72} restart
Start (please change according to the PHP version number installed, for example: /etc/init.d/php-fpm-54 reload)
/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72} reload
Configuration file (please change according to the PHP version number installed, for example: /www/server/php/52/etc/php. ini)
/www/server/php/{52|53|54|55|56|70|71|72}/etc/php.ini
VIII: Redis Service Management
redis installation directory
/www/server/redis
start
/etc/init.d/redis start
stop
/etc/init.d/redis stop
redis profile
/www/server/redis/redis.conf
9: Memcached Service Management
memcached installation directory
/usr/local/memcached
start
/etc/init.d/memcached start
stop
/etc/init.d/memcached stop
restart
/etc/init.d/memcached restart
start-up
/etc/init.d/memcached reload
Ten: Pagoda Panel Switch Free Edition/Professional Edition
Free upgrade Professional
wget -O update.sh http://download.bt.cn/install/update.sh && bash update.sh pro
Professional version downgraded to free version
wget -O update.sh http://download.bt.cn/install/update.sh && bash update.sh free
If the free version of the professional version of the switch to see is not very clear, you can see the big bird wrote the tutorial: Linux-BT(pagoda panel) switch free/professional version of the tutorial
XI: Linux Panel 6.X Installation Command
Centos Installation Command:
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
Ubuntu/Deepin installation command:
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh
Debian installation commands:
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh
Fedora installation command:
wget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.sh
XII: Smooth Upgrade from 5.x to 6.x Command
curl http://download.bt.cn/install/update_to_6.sh|bash
Note:
1. Centos6 Do not execute this upgrade command, only for Centos 7 system smooth upgrade
2. The upgrade process takes a long time and may be affected by network factors, resulting in upgrade failure.
3. If the panel cannot be started normally after upgrading, please re-execute the upgrade command.
4. There are certain risks in upgrading. Please upgrade the production environment carefully.
Thirteen: Pagoda Panel Unload Command
wget http://download.bt.cn/install/bt-uninstall.shsh bt-uninstall.sh
Uninstallation tutorial: pagoda panel (linux) some ways to uninstall the tidying up and uninstall some files after deletion
XIV: Renewal of certificates
"/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh"
Force update of all let certificates
"/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" --force
Fifteen: Tips IP address acquisition failed
Panel binding pagoda account prompt ip address acquisition failed:
echo "125.88.182.170 www.bt.cn" >> /etc/hosts
Sixteen: BT command
Pagoda panel new shortcut command, SSH input bt directly out of 15 small tools, including restart panel, modify panel password, modify MYSQL password, cancel binding domain name restrictions.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.