Let the Battle Begin!Today we will be reviewing the major differences between CentOS and Ubuntu in a web hosting environment. Although this is not a fully comprehensive analysis of every single aspect of the numerous in-depth features of each operating system, it should provide a solid overview which will allow you to choose which system is best suited for your needs. Without further ado, let’s jump right in…
Wikipedia defines Ubuntu as follows:
“Ubuntu is a free and open-source Linux distribution (that’s) based on Debian. Ubuntu is officially released in three variants: Desktop, Server, and Core: (for the internet of things devices and robots). All the editions can run on a standalone computer, or in Windows. Ubuntu is a popular operating system for cloud computing, with support for OpenStack. Ubuntu is released every six months, with(LTvarientsS) long-term support releases every two years. The latest release is (“Disco Dingo”) version 19.04 , and the most recent long-term support release is(“Bionic Beaver”) 18.04 LTS , which is supported until 2023 under public support and, until 2028 as a paid option.
Wikipedia defines CentOS as follows: “CentOS (from Community Enterprise Operating System) is a Linux distribution that provides a free, community-supported, enterprise-class, computing platform compatible with its upstream source, (RHEL) or Red Hat Enterprise Linux. In January 2014, CentOS announced the official affiliation with Red Hat while staying independent fromRed Hat Enterprise Linux, under a new CentOS governing board. The first CentOS was released in May 2004, (and numbered as CentOS version 2), was forked from Redhat (RHEL) version 2.1AS… (The) building of CentOS 8 commenced as of May 2019.
|System Core||Based on Debian||Based on Redhat|
|Update Cycle||Often||Deliberately Infrequent|
|Security||Good (but requires additional configuration)||Strong|
|Support Considerations||Excellent documentation and support community||Good documentation. Small but active user community.|
|Platform Focal Point||Geared more towards the desktop user||Geared towards the server market and preferred by larger corporations|
|File Structure||Both use the same basic file/folder structure but, system services will differ in location||Both use the same basic file/folder structure but, system services will differ in location|
|Package Management||apt-get, aptitude||YUM|
|Cloud Interface||OpenStack||OpenStack, OpenNebula, CloudStack|
|Virtualization||KVM, Xen||Native KVM Support|
|Ease of Use||Moderate||Difficult|
|Speed Considerations||Excellent (depends on HW used)||Excellent (depends on HW used)|
|Hosting Market Share||37.8% (7/19)||17.3% (7/19)|
|Default applications||Frequently Updated||Infrequent Updates (only as required)|
Pros & Cons:
HostingCurrently, (as of 7/2019), Ubuntu, Debian, and CentOS are the primary operating systems being utilized today in the hosting market. Granted, many of the Ubuntu server OS’s in use may be tied to smaller private servers that are running SMB’s type sites/servers but, the sheer volume of servers utilizing Ubuntu exemplifies the growing acceptance of Ubuntu as a primary OS in the web hosting sphere. Both Google Trends and StackExchange also provides a reliable comparison in the breakdown of usage between these two systems. If you would like to utilize a control panel to manage your web hosting services, you should closely review CentOS, as it offers the most compatibility with different management panels that you may need. Web hosting control panels like cPanel, Webmin and DIrectAdmin have always been focused on CentOS and other RedHat based operating systems. Unfortunately, Ubuntu does not support cPanel but does have quite a few alternatives, such as Webmin/Virtualmin and VestaCP. CentOS is also constructed to be very stable and secure but as a result, many of the core systems may run older, more mature software versions with security updates that are backported from Redhat as needed. CentOS is also a solid choice for medium-large sized businesses and, websites that require cPanel. While the CentOS user base is smaller than Ubuntu, CentOS still houses an online community and also provides premium support options if you so desire.
The CloudUbuntu servers have excellent support for container virtualization as well as cloud deployment which shows its influence in the market compared to CentOS. As of June 2019, “Canonical announced full enterprise support for Kubernetes 1.15 kubeadm deployments, its Charmed Kubernetes, and MicroK8s; the popular single-node deployment of Kubernetes.“1 Not to be outdone, CentOS offers three private cloud hosting choices as well as a public cloud platform through AWS. CentOS provides a mature platform in this area and offers excellent documentation. The chart below identifies the overall usage of cloud-based preferences as of June 2019 via EC2 Statistics compiled from Amazon.
Steam provides comparisons on their gaming platforms noting the number of users that run Ubuntu on their systems. Currently, over 30% percent of all Steam users are running on Ubuntu, followed by 49% of other different Linux distros. Granted, gaming on Linux is not entirely related to the hosting industry but, it does show how widely Ubuntu is accepted and used across multiple sectors.