Without further ado, let’s get started.

There are 4 steps to building your own blog:

1. Have your own server

We can choose cloud servers, such as Ali Cloud, Tencent cloud, Baidu cloud, Huawei cloud and so on.

Here attached ali Cloud wing plan link Ali cloud wing plan, the student party is still very cost-effective, of course, other cloud services will also have student discounts, suitable for their own is the best.

I have purchased Ali Cloud, and the following configuration method applies to Ali cloud service.

After the purchase of the server can be the next operation. Let’s write down the public IP address in the picture and we’ll use it later.

Adding firewall Rules

(For the choice of cloud server region, Hong Kong or foreign countries do not need to record)

2. Preparations (Download local tools)

  1. Local connection remote server software: Xshell. Attach download link
  2. SCP file transfer software supported by SSH :winscp. Attach download link
  3. Open source, compact, free plain text code compiler: Notepad++. Attach download link

Installation process is omitted, no pit, crazy point next step can be. The installation is complete. First open Xshell to connect to the remote server.

Click Connect and we connect to the remote server

Next, we need an artifact: pagoda panel with link: Pagoda panel link

We enter the installation command directly in xshell:

Yum install wget - y && wget - O the sh http://download.bt.cn/install/install_6.0.sh && sh the shCopy the code

(the pit! Don’t panic if the following error occurs when we install the pagoda

[root@JD ~]# =
-bash: =: command not found
Copy the code

The pagoda panel failed to be installed because unzip: Command not found. The unzip component is unavailable and not installed.

Centos:

yum install -y unzip zip
Copy the code

Ubuntu:

sudo apt-get install unzip
Copy the code

Debian:

apt-get install unzip
Copy the code

It worked perfectly when you tried it

Wait patiently for installation…

After the installation, we opened the above address in the browser, entered the user name and password, and entered the pagoda panel. (We must remember this address.)

The system will recommend us to install the kit, we choose LNMP, click one button to install, and then wait patiently.

3. Register and purchase a domain name

Here I buy the domain name in Ali cloud, you can also choose other. Attach link: Purchase domain name link (requires real name authentication and personal information template)

After purchasing, we need to create website space, we add a site in pagoda panel management

And then we go back to domain name management and resolving domain names

At this point, our site has been created successfully, let’s enter the domain name to visit.

(If we change the default site file, it will report an access error, we need to record the domain name server, the specific operation in Ali Cloud view, silently ridicule the record process is really long)

4. Create a personal blog

There are many blogging platforms on the Internet, such as Typecho, Zblog, wordpress and other excellent platforms. Here I use Typecho, attach the Typecho download link. After downloading, we will directly unzip the Typecho program and copy the root directory to the root directory of the site using the installed winscp

To enter the TypEcho installation program, type domain name /install. PHP in your browser

Fill in the server parameters and initialization Settings as required by the program installation wizard, and click Next.

Here our blog is completed, you can enjoy your masterpiece quietly! Typecho Themes,Typecho WiKi (Typecho Themes,Typecho WiKi)