# Pagoda Panel
TIP
Note: This tutorial is for users who use the downloaded installation package (https://beikeshop.com/download) and install it in Linux system + pagoda environment, please refer to this document; if you have development experience and use composer to install, set the root directory to the public directory in the decompressed file, and directly open the project address in the browser to install it!
# System Installation Environment Requirements
PHP 8.1+
MySQL 5.7+
Apache httpd 2.4+ or Nginx 1.10+
# Installation Steps
TIP
This document takes the Baota Panel version 8.0.4 and CentOS 8.5 system as examples.
# Apache
1. The installation process of the pagoda is not described here. If you have any questions, please Baidu
Prerequisites
- The host has installed the Baota software
- Log in to the Baota control panel
2. Install PHP, MySQL, and Apache environment
2.1 Install PHP
2.1.1. In the Baota console, click [Software Store] -> [Running Environment] and search for PHP software. As shown in the following figure:
2.1.2. Find PHP-8.1 and click the [Install] button in the operation bar. As shown below:
2.1.3. Select the default installation method, click the Submit button, and wait for the installation to complete. As shown below:
2.1.4. Install the fileinfo extension for PHP. In the Baota console, click [Software Store] -> [Installed] to find the installed PHP software. As shown in the following figure:
2.1.5. Click to select the PHP software name you want to use for the BeikeShop system (must be 8.1 or above). Here we take PHP-8.1 as an example. As shown in the figure below:
2.1.6. In the pop-up [PHP Management] window, click [Install Extension] to install the extension settings. As shown in the following figure:
2.1.7. Select [fileinfo] and click [Install]. As shown below
2.1.8. In the pop-up fileinfo
installation window, click [OK]. As shown in the following figure:
2.2 Install MySQL and Apache
2.2.1 Click the software store menu, find MySQL5.7, Apache2.4.54 (MySQL version 5.7 is the minimum, Apache2.4.54) and install them separately. Refer to the PHP installation method. I will not repeat it here. Note: MySQL version 5.7 or above is sufficient, Apache 2.4+
2.3 Create a website and modify the environment configuration
2.3.1 Create a site. Click the [Website] menu -> click [Add Site]. As shown below:
2.3.2 Add domain name, create database and select PHP version. The domain name should be resolved to the corresponding host in advance. The database version should be at least 5.7 (when installing multiple versions of database), and the PHP version should be at least 8.1. After the site is successfully created, a pop-up window will prompt the database name, user name and password, which will be used during system installation. As shown in the figure below:
2.3.3 Upload the downloaded code compression package to the root directory of the site and decompress it. As shown in the following figure:
Click the Upload button and drag the downloaded code compression package into the upload area, and finally click the Upload button and wait for the upload to complete. As shown in the following figure:
Double-click the uploaded code compression package to decompress it. As shown in the following figure:
2.3.4 Disable the anti-cross-site attack option and set the system running directory to the public directory (important)
In the Pagoda panel, click the website menu -> find the created website and click the settings button. As shown below:
Find the website directory and remove the anti-cross-site attack option. As shown in the following figure:
Set the system running directory to the public directory (important!!!) as shown below. As shown below:
Website Directory:/www/wwwroot/beike.shop.test/beikeshop_v1.5.0
Run Directory: /public
# Nginx
TIP
If you need to use Nginx, you need to install Nginx in advance. You can refer to the PHP installation method for installation.
2.3.5 Nginx environment configuration
Unlike Apache, Nginx needs to configure pseudo-static rules
In the website settings in Baota - pseudo-static, add the following code.
location / {
try_files $uri $uri/ /index.php?$query_string;
}
TIP
Note: If there is such code in the configuration file, please comment it out, because it may cause the thumbnail of the template you purchased to not be displayed on the background design page
2.4 System Installation
2.4.1 Enter the domain name beike.shop.test in the browser, and if the interface shown in the figure appears, you have successfully entered the installation page.
2.4.2 Click Check Requirements, Check Permissions, and Configure Environment buttons in sequence. Installation Finished.
Step 1: Install the interface
Step 2: Environmental Check
Step 3: Directory permission check
Step 4: Fill in the database, backend login user information and click the Install button
Note: The Set admin account password information column will appear only after the Database system passes the automatic detection.
Step 5: If the installation is successful, the page shown in the figure will appear.
2.5 Mall interface
2.5.1 Front-end interface
2.5.2 Backstage interface
TIP
This is the end of the installation tutorial of BeikeShop based on CentOS8.5+Baota Panel. You can use the system now! If you have any other questions, please contact [email protected] / QQ:9358972 Chengdu Guangda Network Technology Co., Ltd. All rights reserved