- Official Project:
-
Choose the Centos 7.6 system, resolve the domain name, and open the port.
-
Install the BT panel
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh ed8484bec
-
Install necessary software: MySQL Nginx Redis phpMyAdmin PHP-7.4
-
Confirm PHP environment
Click on [Software Store] -> [PHP Settings] -> [Disable Functions] and remove the following: putenv, proc_open, pcntl_signal, pcntl_alarm
Click on [Software Store] -> [PHP Settings] -> [Install Extensions] to install the following three extensions: fileinfo, redis, opcache (optional installation for enhanced performance)
After setting up, reload and restart the panel.
- Create a new website
Click on Add Site -> Enter the resolved domain name -> Choose the database -> Set the database name -> Click Submit
Apply for an SSL certificate and force enable HTTPS.
- Download and upload project code
Project download link:
https://github.com/assimon/dujiaoka/releases
Upload the project code to the root directory of the website, unzip it in the current directory, delete the compressed package after unzipping, then cut the files from the folder to the website.
- Set pseudo-static and running directory
Click on the settings behind the website -> Click to the website directory -> Choose the unzipped folder, then save -> Choose /public under the running directory, then save
Click on pseudo-static, choose laravel5, then save
- Start the installation
Enter the resolved domain name in the browser, press enter to enter the installation process
Fill in the website configuration information according to the actual situation, and click install when finished.
- If there is a login error, solution:
Admin login address#
ADMIN_ROUTE_PREFIX=/admin
ADMIN_HTTPS=true // Add this line of configuration
-
Change the password after logging in.
-
After officially launching, make sure to set APP_DEBUG to false in the .env configuration.