Build Tpshop website under deeepin

Background: Because I recently learned that I need to build an open source website for TPshop. When building for the first time, I encountered some unfamiliar knowledge (pits) and summarized them.

Operating system is: linux

What you need: tpshop source code, phpstudy small leather panel

Steps:

1: Download the tpshop source code: Website: "TPshop source code download" - TPshop_php open source mall source code_TPshop video tutorial

 After downloading, unzip it: the compressed package is a rar file, use unrar -x TPshop_tp5_20210401.rar to decompress it. After decompression, click on the directory and there will be a www file and then package it into a compressed package.

 2: Install Xiaopi Panel: Xiaopi Panel (phpstudy) - Let there be no difficult server environment in the world! Click to install now

Because I use the deepin operating system, I paste it directly into the terminal to download. After the download is completed, enter the intranet to log in with the account and password, and enter

 

 Three: Deploy the website

1. When you enter for the first time, you will be prompted to install the software with one click. After the installation is completed, it will be displayed on the home page.

2. Click on the server firewall, enter 3306, and click Release 

 3. Upload tpshop source code: Click File-->File Upload. Upload the compressed www file

After the upload is complete, decompress it. After decompression is complete, enter the www file, click to select all, and then cut.

 cut directory

 Next create a new database

Okay, this ends all the processes.

4. Access and install the tpshop website

click website

 Then install, add the database name and password in your own database, click Next to install and wait for the installation to complete.

 ok set up

Four: Encountered a problem: During the second step of installing tpshop, a sql_mode file error will be prompted

Solution: Enter after mysqld:

sql-mode=NO_ENGINE_SUBSTITUTION,NO_AUTO_CREATE_USER

 Five: Summary

The construction is finally completed. I referred to the documents of many experts during the process. Thank you all. If you have any questions about use in the future, please give me some advice. Rui Sibai~~

 

Supongo que te gusta

Origin blog.csdn.net/m0_63681407/article/details/127018182
Recomendado
Clasificación