🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

Baota Panel Installation Tutorial: One-Click Installation on Alibaba Cloud/Tencent Cloud VPS (2026 Edition)

Baota Panel is a server operation and maintenance software that helps beginners manage VPS servers. It allows server management and website creation on the server through a graphical interface. This article details the complete steps for installing Baota Panel on mainstream cloud servers, supporting major VPS providers like Alibaba Cloud and Tencent Cloud. Installation can be completed in 5 minutes.

Preparations for Installing Baota Panel

1. Before installation, you need to have a VPS. If you don't have one yet, please click hereto view VPS providers recommended by Naibabijiand purchase a VPS for use.

2. Then, you need to download the xShell software to manage the VPS. Refer to:Download Free VPS Management Software Xshell7/Xftp7 Chinese Version

3. Register a free Baota account, which will be needed later.Click here to register for Baota(Free registration in the top right corner of the website)

One-Click Installation of Baota Panel

One-Click Installation Script for Baota Panel

The recommended server systems for Baota Panel are Debian-12 or Ubuntu-22 or OpenCloud-9 (Tencent Cloud), Alibaba-Cloud-3 (Alibaba Cloud).

If you did not choose a system with the Baota image, you can use the one-click installation script below.

if [ -f /usr/bin/curl ];then curl -sSO https://download.bt.cn/install/install_panel.sh;else wget -O install_panel.sh https://download.bt.cn/install/install_panel.sh;fi;bash install_panel.sh ed8484bec

If it is a Debian system, you can also use the script below for installation.

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

Quick Installation by Selecting Baota Image on Tencent Cloud / Alibaba Cloud

If you find manual installation too troublesome and you are using a Tencent Cloud or Alibaba Cloud server, you can also directly choose to reinstall the system with the Baota image.

Selecting these images with Baota Panel pre-installed is similar to the old Ghost systems. By default, Baota Panel is already installed in the system. Once the system is installed, you can directly view the Baota Panel login information without needing to install it manually.

The only difference between manual installation and using a system image is that the version installed via the system image may not be the latest and may require a manual update.

Note: If you cannot access the Baota Panel admin dashboard after installing Baota Panel on your Tencent Cloud, Alibaba Cloud, or Huawei Cloud server, it is likely because the firewall is not open. Refer to the tutorial below to open the Baota port.

Tutorial:Tencent CloudAlibaba CloudHuawei Cloud

Detailed Step-by-Step Guide with Images for Installing Baota Panel

If you are not using a VPS with a Baota image like Alibaba Cloud or Tencent Cloud, we canManually install Baota Panel, the overall time required is estimated to be around 2 minutes.

1. Open the xShell software, click 'New', then fill in your VPS's IP address;

安装宝塔面板1,连接VPS

2. The first connection will have a security prompt, click 'Accept and Save', then enter the VPS username and password to log in.

Usually the username is root, you can save the username, and decide whether to save the password based on the situation.

Special note: If your VPS system is not selected as Linux (e.g., CentOS, Ubuntu, or Debian), but instead selected as Windows, then reinstall the OS on the VPS first before following this tutorial. This tutorial uses theDebian 12version.

安装宝塔2,安全提示

3. When a prompt like [root@xxx ~]# appears, it means the login was successful.

安装宝塔3,顺利连接VPS

After connecting to the VPS using Xshell, copy the following code string, then paste it into the Xshell interface. (TipYou can copy and paste commands by right-clicking the mouse in the Xshell interface

CentOS 7 official maintenance ended on June 30, 2024. Baota recommends the following systems [compatibility order: Debian-12 Ubuntu-22 CentOS 9, OpenCloud 9, AlibabaCloud 3]

if [ -f /usr/bin/curl ];then curl -sSO https://download.bt.cn/install/install_panel.sh;else wget -O install_panel.sh https://download.bt.cn/install/install_panel.sh;fi;bash install_panel.sh ed8484bec

For Windows systems, it is recommended to reinstall as a Linux system first.

After pasting the command and pressing Enter, when the content shown in the image below appears,type y and press Enter

Do you want to install Bt-Panel to the /www directory now?(y/n)

询问是否安装宝塔面板

Then Baota Panel will be automatically installed on your server, just continue waiting.

安装宝塔过程中

When an interface like the image below appears, 'Congratulations! Installed successfully!' means the installation was successful.

宝塔安装成功

The three lines inside the red box in the image above are your Baota Panel management address, management username, and management password respectively. You can select them with the mouse, right-click to copy, and save the information on your computer.

Special reminder: Be sure to save the backend login address as a bookmark or in a text file. The content after 8888/ also needs to be remembered to log into the backend. If you really forget the address, refer toWhat to do if you forget the Baota Panel backend login URL

4. Use a browser to open the external network panel management address, and the Baota login address will appear.

登录宝塔面板

If you want to modify the Baota Panel username and password yourself, after logging into Baota Panel, select „Panel Settings“ on the left, then modify the panel user and panel password below.

Install Website Environment

Note, installing Baota Panel does not mean you can install a website yet, you still need to install the website environment, by default, the first time you log into Baota Panel, the following image will appear.

The new version of Baota requires forced login to a Baota account after logging in, so register a Baota account yourself and log in.

宝塔安装套件

By default, choose the one-click installation on the LNMP side,If you are a user with 1GB RAM or more, it is recommended to choose PHP version php 8 or above, MySQL 5.7, and keep other settings as default.. (High configuration recommended, PHP 8.3+ and MySQL version 8.0+ or MariaDB version 10.6+ are recommended. You can refer toWordPress Configuration Requirements

Then you will see an interface like the image below. Just wait; this process will take a bit longer, so you can do something else in the meantime.

宝塔面板安装环境组件中

Once everything is installed, you can create a website. Please clickAdd your own website in Baota Panel (Adding a Virtual Host in Baota)View.

Video Tutorial for Installing Baota Panel

If you are worried about not understanding the text and image tutorial, you can directly watch the Baota Panel installation video tutorial below.

Note: The video is a few years old, and the software interface has changed somewhat. Adapt accordingly to understand the operations. Note that the operating system is now recommended to be Debian 12.

Other Related Tutorial Articles on Baota Panel

Common Software Configuration File Paths in Baota Panel

Baota Panel installs the managed software (such as Web servers, databases, etc.) uniformly in the/www/server/directory.

1. Web Server

Nginx

Configuration FilePathDescription
Main Configuration File/www/server/nginx/conf/nginx.confThe core configuration file for Nginx.
Site Configuration File/www/server/panel/vhost/nginx/Independent configuration files generated by Baota for each website, for examplewww.yourdomain.com.conf
Default Site File/www/server/nginx/conf/Contains general configurations such as theproxy.conf, rewritedirectory.

Apache

Configuration FilePathDescription
Main Configuration File/www/server/apache/conf/httpd.confThe core configuration file for Apache.
Site Configuration File/www/server/panel/vhost/apache/Independent configuration files generated by Baota for each website

OpenLiteSpeed

Configuration FilePathDescription
Main Configuration File/usr/local/lsws/conf/httpd_config.confThe core configuration file for OpenLiteSpeed.

2. Database

MySQL / MariaDB

Configuration FilePathDescription
Main Configuration File (my.cnf)/etc/my.cnfMain MySQL configurations, such as port, buffer size, etc.
Data Directory/www/server/data/The actual location where database files are stored.

3. Programming Language Environment

PHP

Configuration FilePathDescription
PHP.ini Main Configuration/www/server/php/{版本号}/etc/php.iniFor example:/www/server/php/74/etc/php.ini
PHP-FPM Process Management Configuration/www/server/php/{版本号}/etc/php-fpm.confPHP-FPM main process configuration.
PHP-FPM Pool Configuration/www/server/php/{版本号}/etc/php-fpm.d/www.confConfiguration for managing PHP process pools.

Pure-FTPd

Configuration FilePathDescription
Pure-FTPd Configuration/www/server/pure-ftpd/etc/pure-ftpd.confConfiguration file for the pure FTP service.

4. Other Services

Redis

Configuration FilePathDescription
Redis Main Configuration/www/server/redis/redis.confRedis configuration file.

Memcached

Configuration FilePathDescription
Memcached Configuration/etc/init.d/memcachedMemcached startup script and configuration.

Frequently Asked Questions about Installing Baota Panel

Unable to access the panel after installation?

This is usually caused by the server not opening the corresponding firewall rules. For domestic hosts, such as Alibaba Cloud and Tencent Cloud, this is referred to as a security group. Manually open the corresponding port for the Baota Panel to gain access.

Forgot the Baota Panel login address?

SSH connect to the server and execute the command: bt default to view the external panel address. Detailed method:Recover Baota Panel Login Address

加我微信

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step instead.

「Naibabiji WordPress Website Building Coaching」 — From selecting a domain and purchasing hosting to installing themes and publishing posts, I「ll guide you through every step, helping you avoid detours and reach your goals directly.

👉 Learn about Website Building Coaching Service
🔒

Comments are closed

The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.

×
二维码

Scan to Follow