What Linux distribution to choose for a VPS?
Linux distributions and criteria that determine which Linux distro is best for a web server
Choosing an operating system for your VPS is essential when setting up your system. There are certain criteria that can determine how you use your web server.
It is a clone of Red Hat Enterprise Linux, mainly used by military-standard corporations to operate. CentOS is special to build a VPS since its use is preferably for WHM and cPanel, well-known website administration licenses. It is considered a stable and ideal alternative for high demand jobs and is focused precisely on web development.
It is absolutely free in license and distribution. In addition to finding a lot of documentation that will allow to solve any doubt or emergency during the loading process.
Ubuntu is a branch of Debian Linux, available in desktop and web server versions. This system has the characteristic of containing many functions which gives greater versatility when it comes to working or playing .
Like Ubuntu, Debian is canonical to the Debian Linux branch, available in desktop versions and as a web server use.
What distribution to choose?
This question does not have only one answer, but it will always depend on the use you want to give it and the functions you intend for your web server. I will describe below three fundamental criteria to ensure you make the right decision.
CentOS is very stable because the operating system is developed for corporate purposes, therefore, the level of updates is lower. For example, the latest CentOS 7 version was released in 2014 and will receive maintenance until 2024.
Ubuntu and Debian are more versatile servers and the number of updates is more frequent. Each version is maintained for up to 5 years, receiving updates every 6 months.
In terms of loading speed, it is minimal between distributions. In my experience using the terminal, Debian and Linux distributions are faster, both for SSH connection establishment and continuous use on this interface. However, for the loading of web applications, no significant differences are evident.
In terms of usability between operating systems, CentOS is much easier in terms of locating critical files and folders. In the case of the firewall or firewall, Debian and Ubuntu allow the use of UFW, which can make things much easier when establishing rules, although the use of FirewallD in the case of CentOS is not particularly complicated.
In the case of requiring documentation, although it is always emphasized that in the case of Ubuntu for having a larger community "wins" in this regard, the truth is that having so many versions it can be more difficult to find a useful answer if you are using more modern versions such as Ubuntu LTS 20.24.
Ubuntu and Debian are easier to install as they contain the most basic libraries pre-installed and it is enough to install apache to be able to start the web server immediately. In CentOS it may be the case to initialize the firewall or install LAMP it may take a few more minutes.
Linux and Debian share the same branch (Debian Linux), therefore there is no major difference between them or it would be necessary to tread more finely to find them. The communities of the three distributions are immense and you will find everything you need to at least set up a web system.
Surely in your search you will find detractors of some and fans, but when choosing, the three distributions are super powerful operating systems that allow scalability in your web platform.