Alibaba Cloud ECS builds a WordPress personal blog site for free

initial preparation work

I received the three-month cloud server ECS1 core 2GB version for free from Alibaba Cloud. The free collection address: https://click.aliyun.com/m/1000371694/ .

insert image description here
Note: Remember to select WordPress as the pre-installed application during the trial.

insert image description here
Then enter our console, click on the remote link, and you need to enter a password when connecting. If you don’t remember the password, you can reset the password and log in again.

insert image description here
That's it after logging in.

insert image description here
Then we can enter the command

cat /root/ReadMe

Get the WordPress admin password, and you can also remember the others first, this will be used to log in to the WordPress background later.

Security Group Configuration Rules

Then go back to our console, click on the security group, configure the rules

insert image description here

We need to release security group ports (80, 443, 21, 20000~30000), click to add manually

insert image description here
Then select 80 in the destination, select 0.0.0.0/0 in the source, and click Save. The same steps are used for other ports.

insert image description here

Access WordPress default website theme

After everything is released, we can access the default theme website of WordPress by accessing the public IP of the server through the browser, as follows:

http://< 公网 IP >

insert image description here

Access WordPress website background

Then we visit the background of the website. The http://< 公网 IP >/wp-admindefault username is admin, and the password is the WordPress admin password I asked you to save above. After logging in, it will look like this.

insert image description here

We can find a template we like in the appearance theme

insert image description here

I chose ColorPress

insert image description here

DNS

If we have our own domain name, we can analyze this ip and bind the domain name. Here I will show you how to bind a domain name. First, go to the management background of domain name resolution and click haiyong.site.

insert image description here

The record type here is A by default, the host record, which is the prefix of the domain name. For example, I use blog here. Visit blog.haiyong.site to see the website we created
insert image description here

Basic site settings

Next, I will teach you how to optimize your blog. First, click Settings. In general, we can modify the site title, subtitle, WordPress address, site address (URL) and administrator email address.

insert image description here

post article

In fact, it is very simple, click to write an article in the article column

insert image description here
You can add categories and tags, edit the content and click publish

insert image description here

modify link format

The first article has been published. This link contains Chinese characters, which is not in line with our habits. Here we can modify it in the background settings-permanent link.

insert image description here
I chose a custom structure, /%post_id%/and now the link looks much simpler: http://blog.haiyong.site/6/

insert image description here

The menu can be edited in Appearance-Menu, and categories/pages/articles/custom links can all be placed in the menu.

insert image description here
You can see it after editing.

insert image description here

Here we have completed a basic personal blog site, and there are places that can be continuously optimized and gradually improved. Here I will share with you another WordPress personal blog site I built: https://code.haiyong.site/

insert image description here

The Zibi theme is used, which has full functions and has been optimized for several months. It is currently running well. If you have any questions, you are welcome to ask them in the comment area or private message me.

Guess you like

Origin blog.csdn.net/qq_44273429/article/details/130555708