How to create your own blog!


How to create your own blog!

First of all, we need some necessary tools to create a blog, as follows:
1. Virtual machine + Database。 If building a website is compared to building a house, the host and database are equivalent to the foundation, which is the basis of the whole website. Only when the foundation is stable, can our house be more robust. I use Alibaba cloud’s virtual machine as the host, and the database will be attached when I purchase the host.
2. Website program。 The program is the design center behind the house. What kind of structure the room is built into, what kind of style it is decorated into, and what kind of furniture it buys are all designed here. There are many blog management programs on the Internet. I use WordPress to manage the website.
3. Template。 A template is a wallpaper used to beautify a house.
4. domain name。 The domain name is equivalent to the address of the house. After the house is built and decorated, you have to let others visit. A good domain name is easier to remember you. I registered and purchased the domain name in Alibaba cloud.

Let’s take a look at the specific steps.

The first step is to buy a virtual host.

Virtual hosts can be purchased in alicloud. You can view alicloud’s documents about virtual hosts at SPM = a2c4g.750001.list.86.1fdd7b13kolsdu. I won’t go over the specific process.

It should be noted that our website program uses WordPress, and WordPress uses php and MYSQL, so when we choose a host, the supporting language needs to include PHP, and the database needs to support mysql.

Second, register the domain name.

After the host is purchased, the running environment of our website is built. Next, register a domain name to visit our website.

Domain names can be registered in alicloud, Xinwang, Aimin or other IDC businesses. After the registration is successful, the domain name will be recorded, and then bound and resolved with our host. Alibaba cloud has detailed documents for specific operations.

As the domain name registration needs to wait for a period of time, we can also temporarily use the domain name brought by the virtual host to visit our website.

Step 3: upload the WordPress website program

Download WordPress package。 Let’s download the latest version of WordPress from the WordPress official website. Official website link: If the download is slow on the official website, you can click to download.

Upload WordPress to the host。 First, we need to connect to our host server for remote file management. I use FileZilla. Alicloud official website also has specific use documents. If there is no download, you can click ﹣ DPD ﹣ of2en24rlfwbiiw to download and install directly.

After downloading and installing FileZilla, open the FileZilla interface



Fill in the FTP host address, user name, password, and then click quick connect to connect to the remote server. After the connection is successful, the files of the server will be displayed in the remote site directory, so that the files of the local site on the left can be uploaded to the remote server on the right. As shown in the picture:


Next, upload the local WordPress file to the remote server.

First, unzip the downloaded WordPress package. After opening the file, you will find that the directory structure is as follows:


All we need is these documents. Copy the directory address of these files, open FileZilla and paste it into the address bar of the local site, then you can quickly access these files, select all of them, right-click to upload and upload to the server.

It should be noted that if the host you choose is Linux system, you cannot directly upload the file to the root directory when uploading. You need to upload it to HtDocs. Otherwise, the upload will fail. Please pay attention to this.

After the upload is completed, open the temporary domain name of the virtual machine, enter the host password and log in, and the following interface will be displayed, indicating that the file is uploaded successfully and can be used.


Step 4: install and log in wordpress blog management system

Now let’s install WordPress!

First, use your browser to access your host’s temporary domain name, the installation interface will appear, click now to start!

Click to fill in your database information. The database information can be viewed in the virtual machine site management, and then fill in one by one.


Fill in the site name and background administrator account password and other information, click Install!


After installation, you can log in to the background to manage your blog. The background login address is: your website / wp-login.php


After successful login, the blog management interface is as follows:


Now that our blog has been built, we can start to write our blog.

Welcome to my blog:





Recommended Today

Examples of dimit’s rule in C + + Design Patterns

The law of Demeter is also called the least knowledge principle (LKP), which means that an object should know as little as possible about other objects and not talk to strangers. The English abbreviation is: LOD Class design interface as far as possible package perfect, let the external direct call #include<iostream> #include<string> #include<vector> using namespace […]