Traditional Culture Encyclopedia - Traditional festivals - What's the difference between Centos and Ubuntu?

What's the difference between Centos and Ubuntu?

Centos (Community Enterprise Operating System) is one of the distributions of Linux, which is compiled from the source code released by Red Hat Enterprise Linux according to the provisions of open source code. Because they come from the same source code, some servers that require high stability use CentOS instead of the commercial version of Red Hat enterprise Linux.

Ubuntu is a Linux operating system based on desktop applications. Its name comes from the word Ubuntu in Zulu or Hausa in South Africa, which means "human" and "I exist because everyone exists". It is a traditional African value, similar to the "benevolence" thought in China society. Ubuntu is based on Debian distribution and GNOME desktop environment. Unlike Debian, Ubuntu releases a new version every six months. Ubuntu's goal is to provide ordinary users with an up-to-date and fairly stable operating system mainly built by free software. Ubuntu has great community power, and users can easily get help from the community.

Both of them are service-level operating systems commonly used by individuals and small teams in the current version, and many open source software and libraries can be easily installed in software libraries provided on the Internet. Both of them use bash as the basic shell, so the difference between ubuntu and centos is not obvious in many basic commands, and ubuntu should do better in the desktop interface. If many people learn linux out of interest, ubuntu is generally the first choice. After all, many people are still used to operating under desktop graphics. Centos and Ubuntu still have many differences in usage habits and commands, which are briefly listed below:

The newly created non-root user in 1.centos does root have sudo permission. If you need to use sudo permissions, you must add the account and permissions in /etc/sudoers, so when switching to the root account, you only need to enter: su and add the password of the root account.

In Ubuntu, the sudo+ command is generally used. If it is the first time to use, you will be prompted to enter the password of the current user (not the password of root).

2. Online software installation, centos uses yum command, ubuntu uses apt-get command. In addition, there is another method in yum to search for a software from a software source: yum search+ software name.

3.centos comes from redhat, so centos supports the installation in rpm format, but ubuntu obviously does not.

4. After all, different companies make different distributions, and the location of many configuration files is quite different from the default file path, which needs to be gradually realized during use.