明国三年一场雨

明国三年一场雨

热爱技术分享
telegram
email

Official website for the construction of a single-horned card official fully automatic card issuing website | Build an automatic vending system video tutorial, easily build a website for virtual accounts, selling gift cards, and automatically delivering card passwords.

  1. Official Project:
  1. Choose the Centos 7.6 system, resolve the domain name, and open the port.

  2. 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
  1. Install necessary software: MySQL Nginx Redis phpMyAdmin PHP-7.4

  2. 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.

  1. 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.

  1. 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.

  1. 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

  1. 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.

  1. If there is a login error, solution:

Admin login address#

ADMIN_ROUTE_PREFIX=/admin
ADMIN_HTTPS=true // Add this line of configuration

  1. Change the password after logging in.

  2. After officially launching, make sure to set APP_DEBUG to false in the .env configuration.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.