Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the difference between ubuntu and centos

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

What is the difference between ubuntu and centos? for this question, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.

Viewpoint 1:CentOS applies to servers and Ubuntu applies to personal desktops

Server

This is the CentOS win, although they are also open source and free. CentOS its source code is from the commercial server Red Hat Enterprise Linux. There are many companies that use CentOS instead of the commercial version of Red Hat Linux, and its stability is reliable. Ubuntu was developed to make personal computers easy to use, although it also provides a corresponding enterprise server, but the professional is still CentOS.

Personal use

No problem, that is Ubuntu, most people find Linux difficult, one of the reasons is that it is difficult to install, but Ubuntu provides a friendly installation interface, so it is very simple. At the same time, it also has well-known communities that can help you easily get started and even become an expert. At the same time, it has a lot of supported software, which allows you to work and play on it. It also released a mobile operating system for smartphones in 2013 and launched a Ubuntu version of MX3 in 2014 in partnership with Meizu. From these you can see that it is powerful and perfect for single user use. Although CentOS also has friendly installation and support features, it is not as perfect as Ubuntu in general.

All in all, they are excellent, free and open source, and there are a lot of developers who have been modifying and perfecting them. Basically, there is no big difference between the two, the kernel is the same, just additional functional issues, if you are strong enough, you can even use the Linux kernel, develop your own version of Linux, and do whatever you want in it.

CentOS for servers and Ubuntu for personal desktops

Views 2:CentOS and Ubuntu are evenly split.

First of all, we need to distinguish between user scenarios, if users are using on their own computers, it is obvious that the ubuntu system is more appropriate. It is not that ubuntu is better than centos, but that centos has voluntarily abandoned this part of the market. So, there's no choice!

Therefore, on this point, my answer is consistent with that of others. Inconsistently, I personally don't think ubuntu is worse than centos on the server side. It mainly depends on what you want to do and what kind of production environment you are.

We know that in the domestic linux operation and maintenance environment, centos accounts for the majority. On the one hand, because centos was born into a famous family, as a redhat community version, there is no doubt about its stability.

In fact, in the international community, the adoption of centos and ubuntu as the server is actually 50-50. Both have their own characteristics, and they can be chosen according to their own needs.

The most important difference is that ubuntu is more aggressive in its update strategy than centos. We know that a lot of software, such as nginx, cannot be installed by yum without configuring the extension source on centos.

If you choose the ubuntu system, you don't have this trouble, just apt install nginx it!

So, if you want to make it easier to get newer versions of the software, it may be more convenient to use ubuntu. Of course, if you are more conservative and want to be more stable, it is still reliable to choose centos.

Of course, you should not see my answer and suggest that the company change the production environment to ubuntu system. Because the operation and maintenance engineers can use whatever skills they are good at. Forcibly replace the system, if it causes heavy losses, it will be too much for you to bear.

How to choose centos and ubuntu

Point of view 3:Ubuntu is suitable for beginners, CentOS is more suitable for corporate servers

Both platforms are among the most popular Linux platforms today, and they have been used in different projects I am in charge of. Let me briefly summarize:

Ubuntu is a better choice for beginners.

Ubuntu has a large community platform that provides us with rich documentation and experience.

The Ubuntu server can have a graphical interface that suits the habits of most people.

So, if you are a beginner and don't have any special requirements, use a Ubuntu server.

CentOS is more suitable for the company's production environment:

Centos updates are not frequent and only stable versions are released.

Many of the online project tutorials are based on Centos.

Ubuntu is suitable for beginners, while CentOS is more suitable for corporate servers.

Point of view 4:CentOS is more stable, Ubuntu has better support for new technologies

CentOS is more stable, more servers are deployed, documentation is rich, and it is friendly to operators.

CentOS is more stable and has a longer support time, so it is more suitable for a stable online environment. In terms of various configuration documents and the number of uses, centos also has an advantage. When various operations go wrong, centos has an advantage when looking for information.

Many software also provide a binary source for centos, and it is also very easy to install and configure through yum. The disadvantage of centos is also its stability point, due to the pursuit of stability, so the kernel version is often relatively old, and the support of some new features can not keep up. Centos is a little more friendly to operation and maintenance.

Updated Ubuntu features, better graphical desktop support, and more friendly to developers and personal use

Ubuntu, on the other hand, pursues the latest features. The kernel version is newer, and the new features can be synchronized in time. Ubuntu desktop function Xwindow is better and more suitable for personal use. Many developers and individuals use the preferred ubuntu. But it is less than centos in server application. Ubuntu is a little more developer friendly.

Virtual messages and containers

Of course, with the rise of docker, this difference is gradually diminishing. Because the ubuntu kernel version is updated, and the docker container has higher requirements for the new features of the linux kernel, it is more friendly to use ubuntu as the host of the docker container.

And many projects only support Dockerfile configuration for ubuntu when docker is configured, so ubuntu has a comparative advantage in containerization.

Viewpoint 5: Linux recommends using Ubuntu for personal learning

Depending on what you do, if a personal PC virtual machine learns Linux, recommend the LTS version of ubuntu, but not the latest, 18.04LTS or 16.04LTS. CentOS is better on the server side.

However, what does not affect your learning, for bash, ubuntu has done a partial encapsulation, CentOS is more native. Ubuntu also has some tools pre-installed, and CentOS is relatively naked.

In terms of software sources, there are more domestic images of ubuntu software sources. CentOS generally uses yum sources, but domestic access to the official website is more troublesome. Many mirror sources are not strictly corresponding, some are replaced by rehat sources, and some versions do not correspond to minor version numbers.

Ubuntu is recommended for individual study. In addition, there is really not much difference between them. There is no need to struggle too much.

Point of view 6:CentOS is stable, Ubuntu function is radical

Centos is slow and steady, and the versions used by python and gcc tend to be old, so the stability is good.

The ubuntu desktop version is more radical, and the software packages are quite new, so there is a higher chance of problems.

And the question that has been cheating me for a long time:

Apt install docker can only install one shell, it is better to search and install docker-ce tutorial directly.

On the other hand, yum install docker directly secured the docker-ce.

Viewpoint 7:Ubuntu is easier to use. Beginners should start with Ubuntu.

First of all, you should know, he is both Linux systems, if you are a beginner, then I suggest you start from Ubuntu, as far as my own experience is concerned, Ubuntu is easy to use, the most important thing is that the literature is more easy, you will find a lot of answers to any problems encountered in the process of use, so, in terms of ease of use, Ubuntu is better than centos.

Viewpoint 8: CentOS for servers and Ubuntu for entertainment

That depends on what you do with the computer. If it is used as a server, it is naturally CentOS. CentOS is the server version of the system ah, other professional ah! Now the servers of many small and medium-sized enterprises use it, because it is free, ah, no silver. However, also because it is free, developers do not provide technical support, so if there is a problem, they have to do it themselves and have plenty of food and clothing.

If you are for office use, writing documents, surfing the Internet and listening to music, use Ubuntu. Although Ubuntu is not a desktop operating system like Windows, it still makes enough desktops for the use of desktops, especially for office use. As long as you are not demanding, it is enough. Also, there are many derivative versions of Ubuntu that you can choose to use. For example, Kubuntu, is the use of KDE desktop, some people like this desktop; Lubuntu, is the use of LXDE desk, it is suitable for old machines; Ubuntukylin, developed specifically for the Chinese derivative version, there are many Chinese elements, such as the lunar calendar and so on.

In addition, there are some Ubuntu-based versions, such as Mint, which is one of the most Window-like Linux suites in the interface, with a taskbar and a start menu, like Window. If you search under Baidu, there are plenty of Ubuntu-based Linux suites. Ubuntu16.04 is a long-term support version that supports 5-year updates. It uses libreoffice as the office software by default and can edit MS-Office documents. Ubuntukylin provides a download link for the WPS-Office Linux version. In short, as long as you are not too demanding, the use of the office is enough.

Viewpoint 9:CentOS is suitable for servers, Ubuntu and Fedora are suitable for personal desktops

This depends on the positioning of the use you use!

Ubuntu is more similar to consumer markets like windows xp,win7,win8,win10, which are aimed at personal use.

Centos is similar to the server market of windows server 2008 technology windows server 2016.

If it is used as a desktop, it is ubuntu,fedora, the desktop version of linux.

But as a server or use centos, not that ubuntu can not be used, if you use win7 as a server online always feel uneasy ah, when will it crash? Stable and strong operation required by the server operating system!

You can see the difference when you choose a package during installation. Centos minunum installs less than 700 packages, which means that the fewer packages you have, the less likely you are to go wrong.

In addition, centos was born when redhat,Oracle chose linux as the source code rerelease of redhat when he chose redhat as the distribution version. It can be seen that centos has the same excellent and stable kernel as Red Hat. But centos was acquired by Red Hat!

Viewpoint 10:Ubuntu is more suitable for personal use.

If there is a deployed linux server, then basically large servers are centos. My suggestion is to install a system that is consistent with the server on a personal terminal, preferably with the same version number, and try not to upgrade.

If you simply want to use linux, I personally recommend ubuntu, there is not much difference between the two on pc. However, for ubuntu downloaded by domestic users, it is highly likely to encounter an unscrupulous and strange version of the software when downloading on the Chinese page, so it is recommended to download the original English operating system.

In addition, if the computer configuration is poor, there are xubuntu, lubuntu and other lightweight operating systems, can also be used, suitable for beginners.

After reading so many views, in fact, the author thinks that netizens are expressed according to their own feelings. My personal opinion is that both Ubuntu and CentOS systems are suitable for servers. The author can tell you that in very large data centers, Ubuntu's share is definitely not weaker than CentOS's. But if you want to learn Linux technology, CentOS is the better choice. Need to participate in Red Hat RHCSA, RHCE, RHCA certification, be sure to install RHEL or CentOS system.

This is the answer to the question about what is the difference between ubuntu and centos. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 231

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report