What is the difference between Centos and Ubuntu?

Source: Internet
Author: User
CentOS (communitypoliciseoperatingsystem) is one of the Linux releases. it is compiled from the source code released by RedHatEnterpriseLinux according to open source code regulations. Because of the same source code, some servers that require high stability use CentOS to replace the commercial version of RedHatEnterpriseLinux using CentOS (Community ENTerprise Operating System) is one of the Linux releases, it is from the source code compiled by Red Hat Enterprise Linux according to open source code regulations. Because of 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. Ubuntu is based on the Debian release and GNOME desktop environment. Unlike Debian, Ubuntu releases a new version every six months. The goal of Ubuntu is to provide a general user with the latest and stable operating system built mainly from free software. Ubuntu has a huge community power, allowing users to easily get help from the community.

The two are common service-level operating systems for individuals and small teams in the current version. the software libraries provided online can be easily installed into many open-source software and libraries. Both use

Bash is the basic shell, so in many basic commands, the difference between ubuntu and centos is not very obvious, while ubuntu does better on the desktop interface.

Ubuntu is the preferred choice for learning linux from the perspective of interest. after all, many people are still very accustomed to operating in desktop graphics.

The usage habits and commands of Centos and Ubuntu are quite different. The following is a simple example:

1. non-root users created in centos do not have sudo permissions. to use sudo permissions, you must add accounts and permissions to/etc/sudoers. Therefore, switch to the root account.

You only need to enter su to add the password of the root account.

In Ubuntu, the sudo + command is generally used. if this 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 the apt-get command. In addition, yum also provides a method to search for software from the software source.

Yum search + software name

3. centos is from redhat, so centos supports rpm installation, while ubuntu obviously does not.

4. after all, it is different releases made by different companies. The location of many configuration files is very different from that of the default file path. This requires some experience in the use process.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.