Pure Xiaobai deploys Zen Tao (detailed steps)! ! !

1. Build preparation
    1.1 Build preparation
    1.2 Operating system
    1.3 Project architecture
    1.4 Build process

2. Purchase Cloud Server
    2.1 Purchase
    2.2 Setting Host

3. Install the pagoda panel
    3.1 log in to the cloud server
    3.2 download the pagoda
    3.3 install the integrated tool

Fourth, buy a domain name

5. Analysis
    5.1 Enter the analysis panel
    5.2 Open the cloud server

6. Upload ZenTao
    6.1 Download
    6.2 Upload and Decompress
    6.3 Add Site
    6.4 Set Session

Seven, apply for a certificate

8. Install Zen Tao

1. Preliminary knowledge

1.1 Hardware part

  • Hardware system: notebook, desktop, cloud server
  • Software system: (application software in the table below is just some examples)
system software application
windows Apache、Nginx
macOS MySQL、oracle
Linux springboot、thinkPHP
Unix

Here, we choose cloud server to build

1.2 Operating System

The operating system uses linux systems such as ubuntu, fedora, centOS, etc., we adopt the classic centOS

1.3 Project structure

Integrated tool (Apache+PHP+MySQL) + project file (ZenTao)

1.4 Construction processInsert picture description here

Second, purchase cloud servers

Register a Tencent Cloud account and visit the Tencent Cloud server page. Here are some instructions for purchase

2.1 Purchase

  • Head tab: select custom configuration
  • Region selection: select the region closest to the current location
  • Availability zone: random availability zone, because of this he will automatically switch
  • Network: The default is fine
  • Example: the configuration of the server. Cup and memory are purchased according to project requirements. Different models have different main applications. We will use standard models first, and then study these later.
  • Mirror: Select the system, according to 1.2, choose the latest version of 64-bit centOS
  • Data Disk and Internet Broadband: Purchase according to project requirements, we choose default
  • All other items: If there is no special requirement, it will default

2.2 Setting up the host

  • Security group: Create a new security group. There are no special requirements. Please set the default. If you can’t access it later, you must remember to come back and release the port
  • Login method: You can understand that you need to enter a password after the notebook is turned on, and then use it. Here novices use the set password, and write down the password and account name! ! !

Third, install the pagoda panel

3.1 Log in to the cloud server

  • Log in to your account on the Tencent Cloud platform and click on the [Overview] option in the upper left corner to see all purchased products and recent visits. Then click on the cloud server you just purchased.

Insert picture description here

  • Log in to our cloud server in the instance list, the password is set before

Insert picture description here
Here to introduce, our local is a windows environment, and the cloud server is another machine, we can log in in three ways:

  • wellshell: standard login method, suitable for novices, that is, open the web page now
  • Remote login: download putty on the Windows local computer, and then log in through this software
  • SSH login: download
    xshell on a local Windows computer, and log in through this software. We choose wellshell to log inInsert picture description here

3.2 Download the pagoda

After logging in to the instance, there is an operating system. At this time, the next task is deployed. Install the integrated tool, which is Apache+PHP+MySQL. But the dark interface uses Linux commands and is not suitable for novices. So install the pagoda for visual management.

  • Enter the Linux version page entry in the pagoda panel , copy the Centos shell command: yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
  • Paste it into the logged-in instance, press Enter and wait for installation. After the installation is complete, an external network link and your account and password will appear. Here is the interface for managing the instance's pagoda. Go to this link and log in.Insert picture description here

3.3 Install integrated tools

After logging in, it will let you choose which one to install. We just choose the option on the right. If you click it wrong, it’s okay, you can download it yourself in the pagoda store
Insert picture description here

Fourth, buy a domain name

It's not enough if you have a server, because you can't give someone a string of IP to log in. The domain name is like the alias of IP, which is unique like IP. So we make a domain purchase. We still use Tencent Cloud platform to buy, of course, this is not necessary.

  • Enter directly hereInsert picture description here
  • Then follow the platform purchase guide

Five, analysis

  • Purpose: Let the domain name point to the cloud server

5.1 Enter the analysis panelInsert picture description here

Then click Add Record after entering, register with real name according to the requirements, and then add two records, only the beginning of the two records is different, and the rest are the same, add www once, add @ onceInsert picture description here

5.2 Open the cloud server

Copy the IP to the recorded value in the resolution panel
Insert picture description here

6. Upload Zen Tao

6.1 download

We have configured the environment, so we directly download the source code and enterInsert picture description here

6.2 Upload and unzip

  • Upload and unzip! ! ! Not decompress and upload! ! !
  • Go up through the pagoda, of course you can also download winscp or filezilla tools to upload
  • The upload location is under the www folder! ! !Insert picture description here

6.3 Add site

  • Purpose: It can be understood as making the cloud server point to the domain name
  • Note that here is the same as the resolution, it is still added twice, once the domain name starts with www, and once directly starts with the domain nameInsert picture description here

6.4 Set session

Enter the store, click settings, select files, saveInsert picture description here

Seven, apply for a certificate

Certificate management page entry

Click Free Application, then go back to the certificate management page and click Details.Insert picture description here

  • The host record and record value here will be used, do not close this window
  • Log in to the DNS resolution console, view the domain name for which the certificate has been applied, and click [Resolve] in the operation bar to enter the [Record Management] page
  • Click [Add Record] to add DNS records according to different certificate types.
  • Copy the host record and record value in the previous window and paste it over. The record type is TXT
  • Then just wait, sometimes very slow, sometimes very fast

8. Install Zen Tao

  • Browser access: domain name/www/index.php, enter the installation interface. Just follow the prompts to installInsert picture description here
  • Use localhost! ! !
  • View the database password in the pagoda panelInsert picture description here

Insert picture description here

Guess you like

Origin blog.csdn.net/qq_45549336/article/details/109276871