Results 1 to 7 of 7

Thread: Good linux distro for small virtual servers/appliances

Hybrid View

  1. #1
    Mega Poster
    Join Date
    Sep 2006
    Posts
    182

    Default Good linux distro for small virtual servers/appliances

    This was originally mis-posted as a question, so I've done a quick digest of the various suggestions to turn it into a solution - thanks to everybody who posted constructive responses.

    Q: Can anybody recommend a good linux distro for building small, server-like (i.e. no need for a fancy desktop environment) virtual machines and virtual appliances? Typical application would be a single-purpose LAMP set up for a particular project.

    The ideal list would be:
    • Fairly lean and mean - but not one of those extreme "how much can we get on a business card mini-CD" or "run everything from RAMDISK" jobs
    • Runs in (lets say) <100M of RAM and <2G of hard drive Update - on reflection, perhaps "HD image fits on a CD-ROM" would be a good benchmark
    • Includes basic startup/shutdown/cron/logger/network conf stuff and the usual build tools
    • Anything else exotic gets compiled from tarballs.
    • Definitely avoids the sort of "apache depends on ghostscript" (I exaggerate) syndrome
    • Designed to be configured by editing files! - although webmin might be nice.
    • Optional lightweight X desktop (e.g. XfCE) - not essential


    A: There is no right-or-wrong answer since most linux distributions can be customised and/or offer various installation options. Possibilities (all Google-able) include:
    Damn Small Linux is certainly a candidate - possibly the way to go if you want a microscopic GUI-based VM, but otherwise it installs a lot of unecessary stuff.

    Debian - start with a minimal install and just add the packages that you want. Rock-solid reputation (verging on the over-conservative).

    If you're reasonably Linux-savvy (or want an educational experience) and want to get your hands dirty with fdisk and chroot (...and a virtual machine is the best place for this!) the following "some assembly required" distros offer the ultimate customisability:

    Gentoo - famous for taking ages to install because everything is compiled from source (although you can do binary installs) and highly tunable. Use this and Linux geeks will no longer kick sand in your face. My main criticism - getting to grips with the "portage" package management system, especially dealing with the occasional duff pakage.

    Linux from scratch - have it your way, and you get to kick crystalline silicon dioxide in the face of Gentoo users. This is on my "things to try one day^H^H^H week" list.

    Core linux - very minimal, manual installation, but somewhat easier than "linux from scratch" - takes some work, most applications and libraries have to be built from the original souce (but once you have a basic system you can just clone it). Unfortunately, development seems to have stopped and the kernel on the install disc is getting rather old (this is what I was looking for a replacement for).

    Crux linux - looks like the natural successor to "Core". Semi-manual install and a minimalist package management/ports system. Hint1: deselect all the "opt" packages during the setup; Hint 2: My first installation was ~700K but more than half of that was /usr/src/linux which is only needed when initially building the kernel. Try creating a second HD and mounting it on /usr/src before running setup - then its easy to omit the source tree when you later "clone" the VM.
    Last edited by itsdapead; Nov 26, 2006 at 09:02 AM. Reason: Was a question - now a solution



  2. #2
    Tera Poster
    Join Date
    Mar 2006
    Location
    Queensland, Australia
    Posts
    1,043

    Default

    .

    This is a how to forum, for posting solutions. If you post in the tech forum appropriate to your host OS, you will get more help.
    .



  3. #3
    Tera Poster
    Join Date
    Apr 2006
    Posts
    257

    Default

    Look at Damn Small Linux. It does exactly what you're looking for. It is based on Debian and can be expanded via that route into almost anything you want it to be. Yes, post things like this in another forum.



  4. #4
    Mega Poster
    Join Date
    Sep 2006
    Posts
    182

    Default

    Post moved to "General Questions" (the question is not specific to any host OS).

    Looking at the other posts in this forum suggests that the forum description is failing to communicate its intended purpose.



  5. #5
    Tera Poster
    Join Date
    Mar 2006
    Location
    Queensland, Australia
    Posts
    1,043

    Default

    .
    Yes, and at least 98% of them are using the same host OS.
    .



  6. #6
    Tera Poster
    Join Date
    Apr 2006
    Posts
    257

    Default

    Quote Originally Posted by itsdapead
    Looking at the other posts in this forum suggests that the forum description is failing to communicate its intended purpose.
    No, the forum description is failing to be read by posters. The description is very straightforwardly expressed in a simple non-complex sentence that should be understood even by persons whose native language is not English. There are just a lot of lazy inconsiderant people who feel their posts are more important than anyone else's.



  7. #7

    Default Best distro

    No doubt that the best distribution is ubuntu linux. Specially for servers



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •