Build a website from scratch (nanny-level tutorial)

Foreword:

        This tutorial does not require any pre-knowledge and will teach you how to build a website from scratch.

        How to contact me? [email protected]

text:

        What does it take to build a website? 1. Domain name; 2. Server (CVM); 3. Remote link tool (XShell)

1. First teach you how to rent a server:

Regarding student discounts:

        It is recommended that students and friends use student discounts with caution. Most manufacturers’ student discounts can only be used once. You can first rent a cloud server for one month with a normal identity. After learning the basic operations, you can consider whether to rent a student discount server based on your own situation.

For example:

Please note: The latter must be checked for security group configuration (the concept of security groups will be discussed later)

Complete the server rental:


2. Teach you how to buy a domain name: 

You can also choose a domain name from another manufacturer, with no impact;

After you rent the domain name, click "Manage" on the right to enter the domain name management page:

Select: DNS resolution management-add record (this operation is equivalent to matching the domain name with your server)

After adding www, you can access your domain name through: www.domain name.com 

 After adding *, you can access your domain name through: domain name.com 


3. Teach you how to use Xshell to remotely connect to your server:

SSH service is the recommended login method for Linux. There are many SSH software, such as putty, Terminals, VNC Connect, winscp, Xshell, etc. The advantage of Xshell is that the Chinese display is relatively easy to understand, and it supports maintaining the login information of many cloud servers. It can open multiple windows and copy and paste well. 

Xshell is free for non-commercial use only

Of course, you can also log in directly through the management console VNC on the Silicon Cloud official website (not recommended);

Open Xshell-File-New-Host-Fill in your public network IP

 Select-Password-Fill in the password you used when creating the server

Attention: There are three common reasons for remote link failure:

1. Your server security group has not opened port 22; 2. The cloud service provider's computer room is under maintenance; 3. The blogger himself uses China Unicom's campus network, but the remote link fails. Just switch to the mobile network. It may be the network Service provider issues;

In any case, the remote link fails. It is recommended to contact the customer service of the cloud service provider first.


4. Configure the pagoda panel

So far, your server and domain name have been basically set up. For more convenient operation, it is highly recommended that you configure the Pagoda panel:

Note, before installing the pagoda panel:

You need to complete first:

Cloud server CVM enables data disk (Silicon Cloud Linux/Centos disk partition mounting) - Silicon Cloud Information

How do cloud servers use security groups? - Silicon Cloud Information

Install Pagoda Panel: Install Pagoda Linux Panel on cloud host Linux server - Linux Zone - Silicon Cloud Developer Forum - Powered by Discuz!

If you forget your account password, you can enter the Xshell connection server and enter bt to change the account password;

How to make your website visible?

Website-Add site

Take www.test0903.website as an example:

So how to upload your configured source files?

Click - the link to the root directory - delete the selected html file first - click to upload your html file

 5. Quickly build a personal blog based on WordPress:

 First, the renderings:

I have written this blog. Interested students can click to view:

Pagoda Panel Deployment WordPress (Nanny Style Tutorial)_Yunzhijun Ruoyu’s Blog-CSDN Blog_Pagoda Deployment WordPress

Careful students may find:

My website has an SSL certificate, that is, I can access it normally by entering https in the browser.

I have also written this blog. Interested students can click to view:

Pagoda panel quickly deploys SSL certificate_Yunzhijun Ruoyu's blog-CSDN blog

Finally, thank you for reading!

Guess you like

Origin blog.csdn.net/m0_63478913/article/details/127587108