I bought the server and domain name last month and put it aside. Today, I have free time to try to build a personal website with the tutorial. The following is the detailed process of website building and some details in the middle. The purpose of writing this article is to help Go to some friends, or do some reference for building a website in the future
Ready to work
- One cloud server: Aliyun server
- Domain name one: Aliyun domain name registration
- Software environment: pagoda panel
Step 1: SSH remote connection to cloud server
Server host connection via ssh remote connection tool (Xshell, Putty, etc., Baidu download)
Step 2: Install the pagoda panel
Enter the pagoda official website to register an account, click "install now" and enter the web page to find the corresponding linux version installation command, copy and enter Xshell to paste the installation.
Install the pagoda control panel (the installation process may take a long time)
Note: After this step, you must save the BT-Panel, username, and password as a note. It is the address to enter the personal pagoda panel and the login account. The port defaults to 8888. If a small partner prompts an error after logging in, you need to enter The server configures firewall rules and adds a corresponding port
Step 3: Install LNMP website program environment
After entering the pagoda panel, a dialog box will pop up prompting to install some software, which can be installed according to your needs
Note : PHP needs to be installed with a version above 5.6, and the lower version does not support wordpress (because the installed version was too low, it was necessary to reinstall a version)
You can also install other software according to your needs through the software store in the panel
Next enter the website column, fill in the domain name information of the website, install ftp, mysql and php, (here to say, php chooses the corresponding version, can not choose pure static, the reason seems to be compatible with wordpress, I don’t know very well , Haha)
After accessing the website, the following interface will appear, and then go to the next step
Step 4: Download the WordPress installation package
Next, go to the wordpress official website to download the wordpress installation package. You can copy the download address, enter the root directory of the website for remote download, or upload files, unzip after completion, enter the wordpress folder, cut all files and return to the root directory to paste all files
Delete the index.html file in the folder and revisit the website. If no accident, the following interface will appear. After entering, install it. Of course, the unexpected situation is that the following errors may occur:
Step 5: Install WordPress
After there is no problem with the domain name resolution and the website program directory structure, we can install the website. The installation is the easiest way to
directly visit your own domain name, and you will see the wordpress installation interface. We have already prepared the things it says. One step can start directly
The following is a series of basic installation, each step will have specific instructions, and finally here! ! !