Baota Linux panel command list

Baota Linux panel command list

Baota Panel is an easy-to-use, powerful and lifetime free server management software that supports Linux and Windows systems. One-click configuration: LAMP/LNMP, website, database, FTP, SSL, and easy management of the server through the Web.

Install Pagoda

Centos installation script

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

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

Management Pagoda

Baota Toolbox (contains most of the following functions. Direct execution of bt commands in ssh is limited to panels of version 6.x and above)

bt

stop

/etc/init.d/bt stop

start up

/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 ports

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

Modify the panel port, such as changing it 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, such as changing it 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

Force change the MySQL management (root) password to 123456

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

Modify the panel password, such as changing it to 123456

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

View Pagoda Log

cat /tmp/panelBoot.pl

View software installation log

cat /tmp/panelExec.log

Site Configuration File Location

/www/server/panel/vhost

Delete the domain binding panel

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

Clear login restrictions

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

View panel authorized IP

cat /www/server/panel/data/limitip.conf

Turn off access restrictions

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

View licensed domains

cat /www/server/panel/data/domain.conf

Close PanelSSL

rm -f /www/server/panel/data/ssl.pl && /etc/init.d/bt restart

View the panel error log

cat /tmp/panelBoot

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 up

/etc/init.d/nginx start

stop

/etc/init.d/nginx stop

Restart

/etc/init.d/nginx restart

Start

/etc/init.d/nginx reload

nginx configuration file

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

Apache Service Management

Apache installation directory

/www/server/httpd

start up

/etc/init.d/httpd start

stop

/etc/init.d/httpd stop

Restart

/etc/init.d/httpd restart

Start

/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 storage directory

/www/server/data

start up

/etc/init.d/mysqld start

stop

/etc/init.d/mysqld stop

Restart

/etc/init.d/mysqld restart

Start

/etc/init.d/mysqld reload

mysql configuration file

/etc/my.cnf

FTP service management

FTP installation directory

/www/server/pure-ftpd

start up

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

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

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

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

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

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

Reload (please change according to the installed PHP version number, for example: /etc/init.d/php-fpm-54 reload)

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

Configuration file (please change it 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|72|73|74}/etc/php.ini

Redis service management

redis installation directory

/www/server/redis

start up

/etc/init.d/redis start

stop

/etc/init.d/redis stop

redis configuration file

/www/server/redis/redis.conf

Memcached service management

memcached installation directory

/usr/local/memcached

start up

/etc/init.d/memcached start

stop

/etc/init.d/memcached stop

Restart

/etc/init.d/memcached restart

Start

/etc/init.d/memcached reload

This is the end of this article about the complete list of Baota Linux panel commands. For more relevant Baota Linux command content, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope everyone will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Use of Linux passwd command
  • Detailed explanation of the use of Linux time command
  • Use of Linux ln command
  • Detailed explanation of commands to read and write remote files using Vim in Linux system
  • Detailed explanation of the usage of grep command in Linux
  • A complete list of commonly used Linux commands (recommended collection)
  • Solve the problem that the commonly used Linux command "ll" is invalid or the command is not found
  • Extract specific file paths in folders based on Linux commands
  • Linux nohup command principle and example analysis
  • Linux file management command example analysis [display, view, statistics, etc.]
  • Use of Linux usermod command

<<:  Vue implements QR code scanning function (with style)

>>:  Simply understand the writing and execution order of MySQL statements

Recommend

Detailed explanation of several ways to install CMake on Ubuntu

apt install CMake sudo apt install cmake This met...

CSS 3.0 text hover jump special effects code

Here is a text hovering and jumping effect implem...

A few things about favicon.ico (it’s best to put it in the root directory)

Open any web page: for example, http://www.baidu....

What to do if you forget your mysql password

Forgot your MySQL password twice? At first I did ...

How to use vue-cli to create a project and package it with webpack

1. Prepare the environment (download nodejs and s...

MySQL optimization query_cache_limit parameter description

query_cache_limit query_cache_limit specifies the...

Tips for data statistics in MySQL

As a commonly used database, MySQL requires a lot...

Detailed explanation of Linux lsof command usage

lsof (list open files) is a tool to view files op...

Detailed explanation of CSS3 Flex elastic layout example code

1. Basic Concepts //Any container can be specifie...

JS realizes the effect of picture waterfall flow

This article shares the specific code of JS to re...

Vue recursively implements three-level menu

This article example shares the specific code of ...