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-oriented Linux operating system. 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 are used
Bash is the base shell, so the difference between Ubuntu and CentOS is not obvious on many basic commands, and Ubuntu does better on the desktop interface, and many people
From the interests of the first choice to learn Linux is usually Ubuntu, after all, many people are still very accustomed to operating under the desktop graphics.
There are still a lot of differences between the use of CentOS and Ubuntu, and the following is a simple list:
New non-root user in 1.centos is without sudo permission, if need to use sudo permissions must be added to/etc/sudoers account and permissions, so switch to 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 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.
The difference between CentOS and Ubuntu