For novice users, it is more difficult to use cloud servers than cloud virtual hosts. Because virtual hosts have an operation panel, it is easier to use.
But from the perspective of flexibility and performance, choosing cloud servers has greater advantages, and more and more individuals and enterprises are using cloud servers.
This article mainly talks about how to build a personal website with a cloud server. It is aimed at the beginner's steps to build a website. Here is an example of Tencent cloud server:
In addition, you can click to view the latest promotions of Tencent Cloud Server
Here are two relatively simple ways to build a wordpress website with a cloud server.
The first is to deploy a wordpress website using mirroring.
If you use the mirror deployment method, you must first pay attention: some overseas regions do not currently support the creation of cloud servers through the mirror market. If you do not see the "mirror market" option in the region you choose, you cannot use this method. Special recommendation on the cloud can use the second method below to build a website.
Mirror deployment steps:
When purchasing a cloud server, choose the following "Mirror"-"Mirror Market"-"Wordpress Blog Platform"
After the purchase is completed, go to the console, find your cloud server, copy the public network ip, and open it in the browser address bar, and the following guide page will appear:
Click "Get Permission" to download a document to the computer, which contains the configured login account information of the wordpress website and so on. We can successfully log in to the backend of wordpress by following the instructions in the document.
The default login address of the wordpress background is: your domain name or ip/wp-admin
The second way is to use the pagoda panel to deploy the wordpress website with one click
When purchasing a cloud server, select the linux system under "Public Mirror" as the mirror image (CentOS is recommended)
After the purchase is complete, find your cloud server on the console, copy the public network ip, and resolve your domain name to this public network ip address.
Operation steps: domain name management-resolution-novice quick add
Then, log in to your cloud server, as shown below
After entering, it is the command line interface, we only need to enter the following line of commands (this code is for CentOS system, for other systems, please refer to the pagoda official website tutorial), you can install the pagoda panel with one click.
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
Wait a few minutes, the system will automatically complete the installation. If the option of Y or N appears in the middle, enter y to continue the installation.
After the installation is successful, we enter bt in the command line interface, and the help information instructions on the pagoda panel will be displayed, and then enter the number 14, which will display the pagoda background login address and initial user name and password.
Copy the address to the browser address bar and open it, enter the user name and password, and enter the background of the pagoda panel. Regarding the security settings such as modifying the default user name and modifying the port number, the special offers on the cloud will not go into details here. You can modify it yourself.
When you enter the background of the pagoda panel for the first time, a window will pop up. It is recommended that we install the server environment LNMP suite or LAMP suite. It is recommended to install the LNMP suite here. Select "One-click installation". (If it is not installed here, it is also possible to install manually one by one in the software store of the panel)
Then start to install wordpress, click on the "software store" on the left side of the panel, and select "wordpress" for one-click deployment.
Fill in your domain name information, you can also customize the database name and password, etc. It is recommended that novices directly use the data created by the system by default to avoid errors.
After clicking "Submit", the system will automatically create the database, and then a window will pop up with the database user name, database name and password, and WordPress access address. The special offer on the cloud reminds you to remember to save this information.
Log in to the wordpress access address and start to configure wordpress. Fill in the relevant information as required.
The installation is successful here. PS: If there is an error and the installation is not successful, you can delete the site information in the site management and reinstall it.
Then you can log in to the wordpress background, the default login address is: your domain name or ip address/wp-admin
Finally, let's talk about how to install multiple sites. Click "Websites" on the left side of the panel, and then click "Add Sites". If it is a purely static website file, there is no need to create a database. Or directly in the software store, choose one-click deployment of wordpress, it will also automatically increase the site, the effect is the same.
The above are two methods suitable for novices to build websites with cloud servers. I personally recommend the second one-click deployment of the pagoda panel, which is simple to operate and easy to manage. Generally, the functions of the free version are enough. The paid version is more powerful, and you can choose whether to upgrade or not according to your personal needs.