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

Implement QR code scanning function through Vue

hint This plug-in can only be accessed under the ...

Mysql error: Too many connections solution

MySQL database too many connections This error ob...

JavaScript implements asynchronous acquisition of form data

This article example shares the specific code for...

Detailed steps for Python script self-start and scheduled start under Linux

1. Python automatically runs at startup Suppose t...

Summary of Node.js service Docker container application practice

This article will not explain the use and install...

Let IE6, IE7, IE8 support CSS3 rounded corners and shadow styles

I want to make a page using CSS3 rounded corners ...

Summary of Nginx load balancing methods

To understand load balancing, you must first unde...

How to update, package, and upload Docker containers to Alibaba Cloud

This time, we will try to package the running con...

Installing MySQL 8.0.12 based on Windows

This tutorial is only applicable to Windows syste...

10 Deadly Semantic Mistakes in Web Typography

<br />This is from the content of Web front-...

Is it necessary to create a separate index for the MySQL partition field column?

Preface Everyone knows that the partition field m...

Detailed explanation of server-id example in MySQL master-slave synchronization

Preface When we build a MySQL cluster, we natural...

Summary of basic knowledge points of MySql database

Table of contents Basic database operations 2) Vi...

Start a local Kubernetes environment using kind and Docker

introduce Have you ever spent a whole day trying ...

Tutorial on installing GreasyFork js script on mobile phone

Table of contents Preface 1. Iceraven Browser (Fi...