Hacker News new | ask | show | jobs
by mlopes 6599 days ago
I've been using Linux on Servers and Desktop for almost 10 years now, and I still think that's a hard question to answer. On my desktop I use ubuntu, but I would definitely not use it on a server, it would require a hell of a lot of work to get it to be a decent server. Some years ago I used to install Red Hat on the servers, and if you are a beginer on Linux that's what I would advise, the Fedora Core. I usually install Gentoo on my servers, but if you don't have a steady Linux background that's probably not a good idea. When I say Gentoo I could be saying any other distro where you have full control of all the installation and administration process like slackware. As for Debian, I hear a lot of people praising it but each time I installed it on a server I finished regreting it as they have some weird pre-configurations and configuration files tree for some things and are very purists in others. As an example I could refer vi and apache. Vim as been around forever, and comes with pretty usable pre-configurations in most distros since at leas when I started using Linux but debian still comes with an unconfigured vi for default, not vim. Oposed to that, apache comes with some strange configurations and some strange directory structure and files for the configuration files.
1 comments

What would be required to get Unbuntu to perform as a server in your mind? Removing X windows? Hardening? Why wouldn't you just perform a minimal install of Ubunut's LTS for example? That has X disabled and no open ports by default - that is an excellent start for a public-facing server.

More info here: http://www.ubuntu.com/products/whatisubuntu/serveredition/fe...

Further more, Fedora is a johnny-come-lately, created when Red Hat closed their once open linux version. While they claim that Fedora will always be free, one wonders how much Red Hat supports Fedora since it obviously competes with their product. I think a truly, permanently free distro is a much better choice.

Yes, not installing X windows would be one of those things. But not one of the main issues. Removing lots of stuff that is installed on a fresh system, configuring the services that the server will be running in, that intrincated "debian like" /etc, making shure no ubuntu specific configuration tool will destroy some configuration file edited by hand, etc...

About the LTS, I would like to remind you that it mean Long Time Support, not Long Time Server. As for the Fedora Core, I myself don't use it, but my previous experience with Red Hat lead me to believe it is easier for the Linux beginner than Debian.But you're probably right about that, Cento OS would probably be a better choice that a Fedora Core... but don't quote me on that cause my experience with Cent OS is almost null.

Any changes made by hand to a configuration file on a debian-like system are noted and respected by aptitude and apt-get, so your configuration files will not be over-written (unless you want them to.)

All services are "off" by default on the LTS server and debian tries to conform to the Linux Standards Base so what you find in /etc/ is most likely similar to other distros.

The Cent OS community is not anywhere near as large as the debian community, and when you add in commercial support from Canonical, that makes for a pretty good value for money when you chose Ubuntu.

I'm not talking about apt or any debian configuration tool, I'm speaking of those graphical configuration applications that come with ubuntu, some of them use specific files to overwrite default configuration files on boot, etc...

About the ease of configuration on /etc, I can tell you that I've lost a full day to try an make apache work with vhosts and mod_python on ubuntu because of the debian specific way of scatering the configuration files, I usually do this in 5 minutes on gentoo or on apache compiled by me using the official distributed tar packages. Even this last week I had do configure a qmail with vpopmail on a debian system and it was again a pain in the ass. Maybe I've been unluck with the services I've needed to run on a Debian, but as far as I can say, I would not advice Debian.

A big difference on more "low level" distros where the user contrlos everything, as gentoo or slackware to more "automated" ones, like Debian or Fedora Core are the services on by default. A "ps ax" after finishing a base installation on gentoo fits on a 80x25 screen, on a Debian/Fedora this could fit on two or more screens.

That is actually a good argument for running the same OS on the desktop as well as servers. Experience gained while configuring a development envrionment can be used towards maintaining a production server.
"... That has X disabled and no open ports by default ..."

A big plus. The downside is the CLI will now be your best friend. For those weened on GUIs, all that finding, typing and configuration can be a time sink. Also LTS runs on 64 bit systems and has commercial support (Long Term Support) ~ http://www.ubuntu.com/support/paid