Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

"... i will like to know the best Linux Distro to use as my server ..."

The best Linux distro is probably a BSD variant.

Your OS choice for servers differs from desktops. Security, stability and available expertise is more important than ability to configure. The self compiled Linux distributions available for your desktop could expose your server to attack. You can read more here for reasons why ~ ftp://rtfm.mit.edu/pub/usenet/news.answers/unix-faq/faq/part6

  think of BSD as an older, more conservative 
  and stable OS than the "open-all-doors" Linux ...
You can use Linux, but it takes a bit more work to secure than BSD. For the simple reason Linux is younger, more open and therefore less secure than BSD variants (unless hardened with patches like SE) ~ http://networking.ringofsaturn.com/Unix/bsd.php OBSD and FreeBSD would be my choice. FreeBSD was also the choice of Viaweb. I suppose "Robert Morris" knows a thing or to about securing systems ~ http://www.paulgraham.com/vwfaq.html BSD OS's are safe, secure and have access to the source, support lots of hardware with caveats. Here is a quick choice guide ~ http://www.serverwatch.com/tutorials/article.phpr/10825_3393...

Of the Linux servers I'd stick with Debian variants which includes Ubuntu. Debian has their own way of doing things but it is stable, well understood. Maybe SE-Linux is worth a look ~ http://www.nsa.gov/selinux/ and http://en.wikipedia.org/wiki/Selinux

"... i will like to know the best Linux Distro to use as my server ..."

That also depends on what hardware you are using. Is it hosted, your own?? Check your hardware lists before you choose your OS.



debian is the "universal" operating system and runs on more hardware than any other linux distribution.

I love the *BSD UNIXes, but there are also "issues" there as well. The FreeBSD threading model does not work well with MySQL for example and you can see database problems there. I suspect Postgres on FreeBSD is more common and works rather well so you can go that route instead.

However, the original poster wanted info specifically about linux, and while a BSD UNIX is similar, there are enough differences that productivity at first might be diminished while one learns about the port system for packages as well as other differences.

I think it is a bit misleading to say that a distro like debian "opens all doors", that is not the case. And the recent OpenSSL problem not withstanding, debian is quite secure. In fact, the OpenSSL packaging issue shows that the debian security apparatus mostly works, and that the lessons learned are quickly being implemented. One must acknowledge however that this was a serious security problem on debian's side and in contrast OpenBSD has had _two_ exploits in _ten_ years. Those are some pretty sterling security credentials for OpenBSD.


"... However, the original poster wanted info specifically about linux, and while a BSD UNIX is similar, there are enough differences that productivity ..."

The poster also mentioned inexperience then requests a less secure server OS than what is possible. Productivity may indeed suffer. Would it be a better idea would be to get an experienced sys-admin to look over the server and secure it?

"... I think it is a bit misleading to say that a distro like debian "opens all doors", that is not the case ..."

Of all the distro's debian is probably the better of the bunch to work with. Debian can be secured. But the strength of Linux and debian, its openness is also its weakness. Default installed distributions still install more applications than you need. This can leave the potential of an unwanted application running to be exploited. Debian before Ubuntu was also the hardest to configure hardware.

"... One must acknowledge however that this was a serious security problem on debian's side and in contrast OpenBSD has had _two_ exploits in _ten_ years. Those are some pretty sterling security credentials for OpenBSD ..."

When it comes to security I'd take OBSD over any linux distro for the simple reason the source has been audited. It is secure by default (You have to actively install what you require ~ http://www.openbsd.org/security.html ). You will not be let down core applications with holes. Having said that I balk at upgrades.

"... The FreeBSD threading model does not work well with MySQL for example and you can see database problems there. I suspect Postgres on FreeBSD is more common and works rather well so you can go that route instead. ..."

Or dispense with RDBM's altogether?


PostgreSQL on FreeBSD does work great.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: