Taking advantage of the recent downtime in offline business, I will update more tutorials for everyone. WordPress CMS, abbreviated as "WP," is currently the most widely used CMS for blogs, with a strong and active ecosystem. For X webmasters, WP can cover almost all types of sites related to X, including video X sites, navigation X sites, paid resource X sites, X novel sites, X image sites, X comic sites, and more, all of which can be implemented on WP CMS.
This article is a very basic tutorial on setting up WordPress on the Baota panel. Experienced webmasters can skip it, while beginners can learn it in ten minutes by following the tutorial.
Tutorial Environment#
Nginx 1.24 + MySQL 8.0 + PHP 7.4 + International Version Baota Panel
International Version Baota Installation Tutorial#
If beginners do not understand how to install Baota, please first read the article below.
Install a Visual Management Interface for Your Server - Baota Panel International Version aaPanel Installation Tutorial
Create a Website#
According to the order of the arrows in the image, enter your domain name in the Domain name field, configure the database, and then click the green button in the lower right corner to create a new website.
After creation, the database information will pop up, which we can copy down.
Apply for an SSL Certificate#
Before applying for an SSL certificate, ensure that your domain has been resolved to the server; otherwise, the certificate application will fail.
A successful certificate will look like the image below. The certificate is valid for three months, and Baota will automatically renew it, so you generally don't need to worry about it.
Download and Install WordPress#
Open the Chinese official website of WordPress: https://cn.wordpress.org/download/ Note: Be sure to download from the official website, as other channels may contain backdoors.
Directly copy the download link, https://cn.wordpress.org/latest-zh_CN.zip
Enter your website's root directory as shown in the image below.
Then select Remote download to directly download the WP source code to the website's root directory.
After downloading, delete the unnecessary files.
Then unzip the downloaded package.
After unzipping, you will get a folder called "wordpress." Enter it and cut the files inside to the website's root directory.
Enter the "wordpress" folder, select all the files inside, and choose cut (note the website directory here).
Return to the website's root directory and paste all the files from the wordpress folder here.
Open the website domain, and it will automatically enter the WP installation interface.
Fill in the database username and password that you just copied. Note: If you need to create multiple WP sites on the same server, change the table prefix line to "wp1_" or "wp2_" to avoid database collisions.
After submitting, run the installation program.
Enter the site title (you can enter anything, and it can be changed later), username and password, and email address (it is recommended to use an email that can receive messages; if you forget the backend password, you can retrieve it via email, provided that the server's email sending settings are configured correctly. Try not to forget the WP password, as it can be troublesome).
Install WordPress, and seeing the interface below means the installation was successful.
The backend login address is generally: website/wp-admin