What is the difference between ubuntu and centos?

青灯夜游
Release: 2020-10-30 16:51:13
Original
7111 people have browsed it

Differences: 1. To install software online, centos uses the yum command, while ubuntu uses the apt-get command; 2. centos supports installation in rpm format, but ubuntu does not; 3. There are many configuration files in ubuntu and centos The location and default file path are different.

What is the difference between ubuntu and centos?

CentOS (Community ENTerprise Operating System) is one of the Linux distributions. It is an open source code from Red Hat Enterprise Linux. Compiled from the source code specified for release. 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.

What is the difference between ubuntu and centos?
Centos' LOG

Ubuntu is a Linux operating system mainly based on desktop applications. Its name comes from the Zulu or Hao language in southern Africa. The word "ubuntu" in the Sa language (translated as Wubangtuo or Ubuntu) means "humanity" and "my existence is because of everyone's existence". It is a traditional African value, similar to the "ubuntu" of the Chinese society. "Benevolence" thought. 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.

What is the difference between ubuntu and centos?
Ubuntu's LOG

Both are service-level operating systems commonly used by individuals and small teams in the current version. They can be easily installed in the software library provided online. to many open source software and libraries. 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 used for the first time, 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, and The apt-get command is used in ubuntu. 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, and ubuntu obviously Unsupported.

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.

Recommended related tutorials: centos introductory tutorial

The above is the detailed content of What is the difference between ubuntu and centos?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template