I found that many  bloggers are basically “novice” to Linux, and even many people only know the existence of “Character Console” in Linux for the first time, so I feel that it is necessary to take some time today Let me talk about this for you. As the operating system of the website server, the first thing you face is which Linux distribution to choose and which production environment to use. Today, Mingyue will summarize and share with you based on her own experience and lessons. .

First of all, let’s talk about the choice of Linux distribution. As we all know, Linux is an open source operating system project. The phenomenon.

At present, the well-known Linux distributions such as: FedoraCore, Debian, Mandrake, Ubuntu, RedHat Linux, SuSE, etc., are you dazzled by seeing them? In fact, few can explain the specific differences in detail. For We webmasters can completely ignore these things, because what I need is nothing more than “stability and security”, and the server version of Linux does not need GUI desktops, so “stability and security” are the primary considerations.

Stability has multiple meanings. One is the stability of the system itself, and the other is the timeliness of repairing system-level vulnerabilities, bugs, and security risks. At present, the best commercial distribution in the server field is RedHat Linux, but RedHat Linux is not “free”, and some costs are definitely similar to the “three mountains” level for our grassroots blog, so directly Ignore it, but fortunately we still have a CentOS option under the spirit of “open source and free”. It is compiled from source code released by Red Hat Enterprise Linux in accordance with the Open Source Code. Because it comes from the same source code, some servers that require high stability use CentOS instead of the commercial version of Red Hat Enterprise Linux. The difference between the two is that CentOS does not contain closed source software.

Get it, CentOS is a free and open source Linux distribution for servers, and it is inherited from Red Hat Enterprise Linux. This is also the main reason why Mingyue often advises novice bloggers to choose CentOS when choosing a Linux distribution, because the source code of CentOS comes from the open source source code of RedHat Linux, so many RedHat Linux commands are available on CentOS Certain versatility. Secondly, because CentOS is a server-oriented Linux distribution, CentOS has the most document references on the Internet. When you search for information in the future, you will be able to appreciate the “convenience”. There are also many Chinese materials.

At least after I have used several different Linux distributions, I feel that CentOS is the most suitable. It is very good in terms of stability, security, and convenience of learning. My favorite is that the related information of CentOS is really good. Rich, whether in Chinese or English, you can quickly find answers and reference materials. This is really not available in many Linux distributions.

However, everything is not static. Since CentOS announced the suspension of maintenance and updates, it is obvious that the choice of CentOS is a bit out of date. Although some CentOS version branches have extended the maintenance cycle, it is recommended to choose other Linux version.