Illegal websites should not initiate any form of manual service requests to our staff. It is strictly prohibited to use honmau Media's technical support services and products to engage in any illegal activities. If discovered, no technical support will be provided.×
Current location:home> news > help and support

A complete collection of commonly used commands for linux pagoda panels

Linux Panel 7.4.6 Installation Command: Start the installation according to the commands in the system execution box (approximately 2 minutes to complete the panel installation)

CentOS installation script

yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh

Download link for Windows version

<a href="http://download.bt.cn/win/panel/BtSoft.zip" target="_blank">http://download.bt.cn/win/panel/BtSoft.zip</a><br>

Ubuntu/Deepin installation script

wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh

Debian installation script

wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh

Fedora installation script

wget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.sh


manageBaota

Baota Toolbox (includes most of the following functions for executing bt commands directly in SSH, limited to panels with versions 6. x and above)

bt

stop

/etc/init.d/bt stop

start

/etc/init.d/bt start

Restart

/etc/init.d/bt restart

uninstall

/etc/init.d/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 && /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

Modify the panel port to 8881 (CentOS 7 system)

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

Forcefully change MySQL management (root) password, if you want to change it to 123456

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

Change the panel password to 123456

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

View Baota Log

cat /tmp/panelBoot.pl

View software installation logs

cat /tmp/panelExec.log

Site configuration file location

/www/server/panel/vhost

Delete Domain Binding 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

View database error logs

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 logs

/www/wwwlogs


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 loading

/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

/etc/init.d/httpd stop

Restart

/etc/init.d/httpd restart

Start loading

/etc/init.d/httpd reload

Apache configuration file

/www/server/apache/conf/httpd.conf


MySQL服务管理

MySQL installation directory

/www/server/mysql

PHPMYAdmin installation directory

/www/server/phpmyadmin

Data storage directory

/www/server/data

start

/etc/init.d/mysqld start

stop

/etc/init.d/mysqld stop

Restart

/etc/init.d/mysqld restart

Start loading

/etc/init.d/mysqld reload

MySQL configuration file

/etc/my.cnf


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 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 installed PHP version number, for example:/etc/init.d/hp-fpm-54 start)

/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} start

Stop (please make changes according to the installed PHP version number, for example:/etc/init.d/hp-fpm-54 stop)

/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} stop

Restart (please make changes according to the installed PHP version number, for example:/etc/init.d/hp-fpm-54 restart)

/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} restart

Start loading (please make changes according to the installed PHP version number, for example:/etc/init.d/hp-fpm-54 reload)

/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} reload

Configuration file &#40;please make changes based on the installed PHP version number, for example:/ww/server/php/52/etc/php. ini&#41;

/www/server/php/{52|53|54|55|56|70|71|72|73|74}/etc/php.ini


Redis Service Management

Edis installation directory

/www/server/redis

start

/etc/init.d/redis start

stop

/etc/init.d/redis stop

© Website copyright and disclaimer

1.[honmau Media] independently owns the copyright of all materials on relevant pages of this website;

2. No one is allowed to copy it without the express written permission of [honmau Media];

3. The articles that do not indicate "honmau Media" on this website are all from the Internet and are only for everyone to learn and refer;

4. If there is any infringement/violation/irregularity, please contact customer service QQ or email to delete it, please understand;

5.[honmau Media] reserves the right to correct, modify and update this statement at any time.legal notice

Message Board
* Contact customer service for urgent issues
submitted
submission
Working days: 8:30 - 22:00 Online QQ

customer service

Company Introduction
top