CentOS (Community ENTerprise Operating System) is one of the Linux distributions and is compiled from Red Hat ENTerprise Linux based on source code released under open source rules. Because of the same source code, some servers that require a high degree of stability are used with CentOS instead of the commercial version of Red Hat Enterprise Linux.
Ubuntu is a desktop application of the Linux operating system, the name from the southern African Zulu or Hausa word "Ubuntu" (translated into My Help or Bantu), meaning "human nature", "I exist because of the existence of everyone", is a kind of African traditional values, similar to the Chinese society " Benevolence ". Ubuntu is based on the Debian distribution and the GNOME desktop environment, unlike Debian because it releases a new version every 6 months. The goal of Ubuntu is to provide an up-to-date, yet fairly stable, operating system built primarily of free software for the average user. Ubuntu has a huge community power that makes it easy for users to get help from the community.
Both are the most common service-level operating systems for individuals and small teams in the current version, and the software libraries available online can be easily installed into many open source software and libraries. Both use bash as the base shell, so the difference between Ubuntu and CentOS is not obvious on many basic commands, and Ubuntu does a better job on the desktop interface, and many people who are interested in learning Linux are usually Ubuntu, After all, many people are still very accustomed to working under desktop graphics. There are still a lot of differences between the use of CentOS and Ubuntu, and the following is a simple list:
The new non-root user in 1.centos is without sudo permission, if need to use sudo permissions must be added to the/etc/sudoers account and permissions, so switch to the root account only need to enter: Su, add the root account password.
In Ubuntu, general use of the sudo+ command, if it is the first time you will be prompted to enter the current user's password (instead of root password)
2. In the online installation software, CentOS uses the Yum command, while Ubuntu uses the Apt-get command. In addition to Yum, there is a way to search for software from a software source: Yum search + software name
3.centos is from Redhat, so CentOS supports the RPM format installation, while Ubuntu is obviously not supported.
4. After all, the different companies do different distributions, many configuration files location and the default file path is a big difference, this need to use the process slowly realized.
"Reprint" The difference between CentOS and Ubuntu