Home  >  Article  >  Operation and Maintenance  >  Detailed explanation of the difference between Centos and Ubuntu

Detailed explanation of the difference between Centos and Ubuntu

藏色散人
藏色散人forward
2020-12-17 16:16:225182browse

The following is the tutorial column of centos to introduce to you the differences between Centos and Ubuntu. I hope it will be helpful to friends in need!

Detailed explanation of the difference between Centos and Ubuntu

##                                                                   ’ ’s LOG’s ’         ’s ’ ’s ’’s’ ’’s' ’’‐ ‐‐ ‐‐ ‐‐ ‐ ‐ to # CentOS

(Community ENTerprise Operating System) is one of the Linux distributions. It is compiled from the source code released by Red Hat Enterprise Linux in accordance with the open source code regulations. 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.

Ubuntu is a Linux operating system mainly based on desktop applications. Its name comes from the word "ubuntu" in Zulu or Hausa in southern Africa (translated as Wu Bang Tuo or Ubuntu), which means "humanity" and "my existence is because of everyone's existence", is a traditional African value, similar to the "benevolence" thought in Chinese society. Ubuntu is based on the Debian distribution and the GNOME desktop environment. The difference from Debian is that it releases a new version every 6 months. The goal of Ubuntu is to provide general users with an up-to-date, yet fairly stable operating system that is primarily built with free software. Ubuntu has a huge community power, and users can easily get help from the community.

Both are service-level operating systems commonly used by individuals and small teams in the current version. Many open source software and libraries can be easily installed in the software libraries provided online. Both use bash as the basic shell, so in many basic commands, the difference between ubuntu and centos is not very obvious, and ubuntu does a better job in the desktop interface. It is the first choice for many people to learn Linux out of interest. Usually it is Ubuntu, after all, many people are still accustomed to operating under desktop graphics. There are still many differences in usage habits and commands between Centos and Ubuntu. Here is a brief list:

1. The newly created non-root user in centos does not have sudo permissions. If you need to use sudo permissions, you must use / Add accounts and permissions to 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 you use it, you will be prompted to enter the current user's password (instead of the root password) 2. In online installation software, centos uses the yum command, while ubuntu uses is the apt-get command. In addition, there is a method in yum to search for a software from the software source: yum search software name 3. Centos comes from redhat, so centos supports installation in rpm format, but ubuntu obviously does not support it. .

4. After all, different companies make different distributions. The locations of many configuration files and the default file paths are very different. This needs to be gradually realized during use.

5. Centos is built based on Redhat open source and is most commonly used in server systems. Ubuntu is a programmer development environment and is most commonly used in desktop environments.

6. For ubuntu, it is the concrete version of the linux operating system, while for ubuntu, linux is its abstraction; in the linux operating system, there are multiple versions due to different applications and management strategies. , For example: ubuntu, fedora, redhat, centos, etc.;

7.Linux is open source, so there are various distribution versions on the Internet, and Ubuntu Linux is one of them. Ubuntu uses the Linux kernel and the graphical interface uses GNOME (Kubuntu uses KDE). In short, Linux system is a general term. It includes Red Hat, Debian, Suse, Ubuntu and other distribution versions. They all use the Linux kernel and are all Linux systems.


8. Many commercial companies deploy servers in production environments using the CentOS system. Centos is a re-released version compiled from the Redhat source code. Centos removes many applications that have nothing to do with server functions. The system is simple but It is very stable, command line operation can facilitate the management of systems and applications, and is supported by helpful documentation and community.

9. The Ubuntu system has a beautiful user interface, a complete package management system, powerful software source support, and a rich technical community. Ubuntu’s support for computer hardware is better than centos and Debian, and it has strong compatibility. Ubuntu has many applications, but for a server operating system, it does not need too many applications. What is needed is a system that is stable, easy to operate, and simple to maintain. If you need to use a graphical interface on the server side, Ubuntu is a good choice. What you need to note is that the graphical interface takes up a lot of memory, and the larger the memory, the higher the price of a vps.

The above is the detailed content of Detailed explanation of the difference between Centos and Ubuntu. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete