Complete website release, deployment into the pit memory record

Recently, I want to set up my own website and play around. The following records the content that needs to be learned.

The article has already been written by a big cow, so I won't repeat the wheel

1. Buy a linux server

I finally chose to buy a server from Portal Home - HostDare. As for why I bought it here, I am actually a novice. I bought it from here because I saw that many Chinese people bought it here, and it looks like it The functions are more comprehensive, at least for me!

The specific purchase process - please check this tutorial (I will make a tutorial later, write it here first)

2. Buy a domain name

The domain name is also bought in hostdare , buy domain name and configuration - please see this tutorial

3. Buy an ssl certificate, of course, if you don’t need https, you can omit it here

I chose to buy the certificate in Ali, mainly because I bought a free one, try it first, buy the certificate and configuration - please see this tutorial

4. Front-end code

5. Backend code

6. Log in to the linux server, I use the centos system, I will only talk about what I use here

1. Yum is a package manager developed for RPM package installability

Configuration and use of CentOS yum source - David_Tang - 博客园

centos 7 yum installation, uninstallation, software upgrade and other commands - Programmer Sought

CentOS7 update yum source - cchilei - 博客园

2. wget is a free tool for automatically downloading files from the Internet

CentOS wget installation and use - Shangao I am the peak - Blog Park

3. rpm Red-Hat Package Manager. Is a low-level package management tool

Centos installation rpm package - naked sleeping pig - Blog Park

What is the difference between rpm and yum in CentOS? - Crispy Flowers - Blog Garden

4. tar command

[Linux] CentOS tar compression and decompression commands - Ling Fengzi - Blog Park

5. netstat command

Detailed explanation of the netstat command under CentOS - Code World

6. ps command

Detailed explanation of centos system ps command - Programmer Sought

8. vim mode

How to use centos7 vim/vi_Cape0915's Blog-CSDN Blog_centos7 vim  

7. Download nodejs, npm, yarn, and configure global commands

8. Install mysql

Install MySQL on CentOS7 (full version)

Later I found out that my mysql version is 56, and I encountered a problem when upgrading to 57 

Error: mysql57-community-release conflicts with mysql-community-release-el6-5.noarch's  solution

Yum quickly upgrades mysql_focus_tt's blog-CSDN blog_yum upgrades mysql

Back up the database before upgrading 

Backup and Recovery of MySQL Database under Linux System- He Shi-Blog- 博客园

Finally, I took a look at the official documents as a whole, and the official documents are the best. 

MySQL :: MySQL 5.7 Reference Manual :: 2.5.1 Installing MySQL on Linux Using the MySQL Yum Repository

You may encounter many other errors, comment private message me, I will do my best to tell you 

Nine. Install nginx service and configure

10. Start in the background and open the test website

Guess you like

Origin blog.csdn.net/weixin_42335036/article/details/123623473