If you are using a managed web hosting service to host your website, you might not be bothered to know what is the distro used in the backend. All you need to know is that your website have to run 24/7 without fail. However, if you are administering your own server, choosing the correct distro becomes an important task. Here are some of the popular and stable distros that you can use for your server.
1. CentOS
Unlike most distro that has a 1 -2 years release cycle, CentOS took a (very) long time to release a new version (CentOS 5 was released in 2007, and it was only till Dec 2011 that CentOS 6 was released). The benefit of this is that once you get your server up and running, it will be in good shape for a long time without having to regularly upgrade to a newer version. In addition, it has a very long term support for all its release (CentOS-4 has 7 years of enterprise lifetime), so you know your server is in good hands for long term to come.
As for the cons, you might have difficulties running newer packages and making use of the latest technologies. If you are looking at cutting edge technology, CentOS is not for you.
2. Debian
Debian has a long release cycle as well, though not as long as CentOS. Being a community distro, new versions of Debian are released only when the community regards them as ready for public. The benefit of this is that each stable release is indeed, stable. Debian doesn’t come with a server or desktop edition. There is only one image for you to download and install. The default will work as the server edition. Install a desktop manager and it becomes the desktop edition.
3. Ubuntu
Ubuntu releases a new version every six months and its Long Term Support release (for server) is every 5 years. This gives you a good choice of using either the LTS for stability or the latest release for cutting edge technology.
4. OpenSUSE
OpenSUSE is the free and community version of SUSE, which provides enterprise Linux, much like what RedHat is doing with its RHEL. OpenSUSE uses the RPM package, but that doesn’t mean it is fully compatible with RedHat or Fedora’s package, do this is something that you should take note of.
Personally, I have not used OpenSUSE as a server before, so I do not know how it performs. However, I did seen articles claiming that OpenSUSE (as a server) is faster and more stable than CentOS. I am not sure of its validity, but if you are experienced and comfortable in using OpenSUSE, you can definitely use it for you web server.
Others
Other distros not mentioned above include Fedora, ArchLinux and Gentoo and the premium ones include RedHat Enterprise Linux and SUSE Enterprise Linux. Personally I would not recommend Fedora, ArchLinux and Gentoo. Fedora is too cutting edge for me, while Arch Linux and Gentoo require plenty of configuration, making them hard to maintain. If you can afford the cash and need professional support, RHEL and SEL are few of the best out there.
Conclusion
There is no absolute best or worst distro for server usage. Most of them are similar and all have their own pros and cons. If you are administering your own server, the most important factor is the ease of use and that depends on your usage experience and familiarity with the distro. The rule of thumb is, choose the distro that you are most comfortable with and have the most experience in. It will give you less trouble while administering it.
Which is your favorite Linux distro for web server?
Image credit: 3d rendering of a server room with black servers by BigStockPhoto
6 comments
Comments are closed.
” I did seen articles claiming that OpenSUSE (as a server) is faster and more stable than CentOS.”
CentOS is a RHEL clone. RHEL is “only” the most deployed and successful enterprise linux. So saying that OpenSUSE is more stable than CentOS is at the very least laughable.
Yeah… Where is Slackware on this list?
I’d rather run oracle linux than RH or derivatives. Its free, including source, offers updates for free and supported by a large organization that has experience supporting enterprise s/w, unlike RH.
Every comparison can be criticised as each linux user has different opinions about the best linux distros.Here you have included some of the popular linux server distros and it is a nice article.I think Redhat and Gentoo should have been discussed some more in your article.Anyway good work bro…
http://www.bestlinuxdistros.com/2012/06/linux-server-distribution-comparison.html
you have dicussed almost all the best linux distros for linux web servers.thanks…
CentOS is the best as a Web Server!