Hardware and performance

 
 
Picture of n -
Which distribution of Linux should we use?
 
I would like to setup a server using LAMP to provide content via Moodle.

This server would also:

act as a webserver for our online resource centre;
house the data for these projects;
connect to the organizations main network which runs Windows 2003 and has typo3 as its content management system (www.typo3.com);

It would be nice to create a poll here in addition to getting responses but what do you think would be the best distro to use?

I like Fedora as I am familiar with it, and it has the largest number of people working on it to get it better faster.

Debian comes with moodle pre-installed, which is very convenient;

Other distros of linux would perhaps less maintenance / security patching once set up...

What do you think? What are most people using here?


 
Average of ratings: -
Julian Ridden
Re: Which distribution of Linux should we use?
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

This is always a contentious issue as there are so many flavours of linux with their own advocates and despondants.

I use Mandrake 10.2. My reason for this was its active community and constant updates. More importantly, it's ease of use. For anyone contemplating getting into linux, this is definately the one to learn on. However it is not the most efficient or secure unless you tinker with it.

Fedora (and other redhat varieties) are meant to be the best for security and performance. But not as user friendly. They also are well maintained have an active community supporting them

Lastly I want to mention SUSE. Normaly I would not say this rated a mention except for the fact it is now owned by Novell and sits great within a Novell network and makes use of many novel features.

 
Average of ratings: -
Me and Ray
Re: Which distribution of Linux should we use?
 
If you are thinking of using Japanese then the one to use would be Vine 3.1 because a Professor Kita has released rpm's that cure the garbling problems that we experience in that language.

I use redhat 9 because there was a book with the disks at my local bookstore, and my university servers use free bsd.

Timothy 
 
Average of ratings: -
Picture of Genner Cerna
Re: Which distribution of Linux should we use?
 
Fedora Core 4
 
Average of ratings: -
Picture of Cory B
Re: Which distribution of Linux should we use?
 
Don't use Fedora Core in a server environment. It is a development version and while it is ok for desktop systems, probably shouldn't be used in a server environment.

If you want to use a Redhat based system either use Redhat Enterprise Linux ($50/year for education customers) or CentOS . CentOS is a free Linux server based on Redhat Enterprise Linux. They took the source code of Redhat Enterprise Linux and compiled it to create CentOS. WhiteBox Linux is another version of Linux similar to CentOS.
 
Average of ratings: -
Martin Langhoff - Sailing
Re: Which distribution of Linux should we use?
Group DevelopersGroup Particularly helpful Moodlers

Debian comes with moodle pre-installed, which is very convenient;

Yes, and we could add that

  • the NZVLE Moodle cluster (still the largest Moodle install?) is running on pure Debian
  • Isaac Clerencia (the guy doing the Debian package) is very good
  • some Moodle developers (Penny, me) collaborate with the packaging of Moodle for Debian

Debian upkeep is simpler than other distros, actually. All you have to do is edit /etc/apt/sources.list to read the security updates (I think this happens by default) and regularly do

   apt-get update
   apt-get upgrade
 

Note, however, that if you use the Moodle included in Debian Sarge, it is going to be 1.4.x. You can track the 'latest' Moodle package manually, or just use Moodle off a downloaded zipfile or an anon CVS checkout.

Either way, Debian makes a wonderful server distro. Recommended!

 
Average of ratings: -
Picture of Iñaki Arenaza
Re: Which distribution of Linux should we use?
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers
As you seem to be involved in the Debian packaging of Moodle, may I suggest you make it dependent on php4-cli and use the php4 cli for the cron jobs instead of using wget?

There are several people that have shown (in the forums) that the stress put on the server by running the cron jobs this way (cli) is less than doing it through regular HTTP requests.

Saludos. Iñaki.
 
Average of ratings:Useful (1)
Picture of Ed Borasky
Re: Which distribution of Linux should we use?
 
My personal favorite distro is Gentoo -- that's what I run on my systems at home. Moodle is not part of the Gentoo Portage repository yet, but I'm planning to submit a package as soon as I learn enough about the configuration to build it.

If you like Fedora/Red Hat, you might want to look at one of the Red Hat Enterprise Linux clones. I've had bad luck with Fedora -- it's stability is borderline. I am running one server with CentOS 4.1 (http://www.centos.org) and it's solid as a rock.

Debian is good ... the fact that Moodle is already in their package repository is a decided plus. The downside to Debian is that there aren't as many people, at least here in the USA, with Debian system administration skills as there are with Red Hat skills.

Security and maintenance are pretty much automatic with the major distros once you get them installed. Debian and CentOS are about the same in that respect.
 
Average of ratings: -
Me at the Moodle Moot NZ11
Re: Which distribution of Linux should we use?
Group Particularly helpful Moodlers

We use Mandrake 10.2

There have been one or two slight problems when trying to do radical things on the server, but the installation and set-up are pretty straightforward.

The Club support and upgrades are great too.

Stuart

 
Average of ratings: -
Pensive mood
Re: Which distribution of Linux should we use?
 
Hi,

As mentioned, there will be quite a few different opinions that might even you have more confused than before asking.

I guess that you should use a distro that you are comfortable with. That being said, there are some characteristics that set some of the distros apart.

Debian is noted for its stability and security. However, it is not supported by some of the major hosting services. As it is often controlled by the command line interface, it does not need the overhead of a 'Windows/Desktop' interface. The attraction to Debian is the almost flawless 'apt-get' command series that automatically updates and upgrades the server. If you are going to "roll your own" server, then this would be a good choice.

RedHat is what seems to be supported by major hosting services. It has the reputation of being 'the distro' for PHBs.

Mandriva (formally Mandrake) has a very good 'Windows/Desktop' interface and  can install way too many packages for server needs if you are not careful. You would need to pick and choose your packages at installation time.
 
Average of ratings: -
Picture of Howard Miller
Re: Which distribution of Linux should we use?
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers
Just to throw my opinion in...

SuSE..... why?

* It's not Red Hat / Fedora. You don't have to pay (or suffer stress) for updates.
* Looks like somebody tested it
* Not burdened by weird, arbitrary, and poorly documented 'security' features (Mandrake?).
* Excellent administration interface that works in both graphical and command line mode
* Big enough that you can get half decent support from the user community.
 
Average of ratings: -
Picture of Sander Overvliet
Re: Which distribution of Linux should we use?
 
My vote goes to Mandrake (or Mandriva, if you will) since i'm running that. wink
In the end it's just up to your personal preference and specific needs, choose what suits you best. Most modern mainstream distro's will contain 99.9% of what you need to run Moodle without any real problems. smile
 
Average of ratings: -
Picture of Visvanath Ratnaweera
Re: Which distribution of Linux should we use?
Group Particularly helpful Moodlers
There are a few "never ending" topics in the geek world, the "distribution war" is one of the most notorious (abreast with Vi(m)-emacs bashing) sad

I would turn around the logic, as some of the posters already have tried, and say

The best distribution (for you) is the one you are most famiier with!
 
Average of ratings: -
Picture of David Scotson
Re: Which distribution of Linux should we use?
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers

Well I'm running Ubuntu on my desktop, and Ubuntu often gets pigeonholed as a desktop distribution, but it is after all based on Debian.

There is also a brand new entry to the field: Edubuntu, which is based on Ubuntu (and therefore Debian) but with an education focus and it aims to come with a variety of educational tools (including Moodle, I believe) out-of-the-box, with many more available with ease.

I'd suggest it's worth keeping an eye on though as it is totally brand new it might not be the safe option at the moment. I've not used Edubuntu myself, but I've been using Ubuntu now for three releases (one every six months) and I've been very impressed with its progress.

 
Average of ratings: -
Picture of arvind grover
Re: Which distribution of Linux should we use?
 
The newest version of Ubuntu has a server release (free as always). Breezy Badger 5.10 is the release, read their news posting here.
 
Average of ratings: -
Picture of arvind grover
do people not load gnome/kde?
 
to save on server overhead, are people running their linux servers at the command line only? i am thinking about a dedicated Ubuntu machine, but want to get rid of the x-windows (gnome) if it will eats up too much memory. any thoughts?
 
Average of ratings: -
Picture of Iñaki Arenaza
Re: do people not load gnome/kde?
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers
    > are people running their linux servers at the command line only

I do wink

Saludos. Iñaki.
 
Average of ratings: -
Picture of arvind grover
Re: do people not load gnome/kde?
 
Iñaki, how did you do the original Moodle setup script where you had to browse to http://localhost/moodle?
 
Average of ratings: -
Picture of Maik Riecken
Re: do people not load gnome/kde?
 
Maybe he just browses his server using a client with a graphical system? It's also not impossible to do it locally using textbrowsers like lynx... I think it is not good to have a GUI installed onto a server for performance as well as security reasons. Few applications mean few updates...

Maik
 
Average of ratings: -
Picture of Iñaki Arenaza
Re: do people not load gnome/kde?
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers
I edited the config files to be able to login from a certain trusted machine, instead of doing it from localhost.

Saludos. Iñaki.
 
Average of ratings: -
Picture of Tony Hursh
Re: do people not load gnome/kde?
 
Same here. Our main Moodle server is on an OS X machine, but the server we've set up for our students to use for their own course development is running Debian, no X/KDE/Gnome/etc. installed. No reason to have it, really.




 
Average of ratings: -
Picture of Gavin McCullagh
Re: do people not load gnome/kde?
 
Hi,

That's what I do.  My thinking is generally that you do not install things which you don't need.  Ubuntu's server install should do that for you.  I'm not sure how much resources will really be saved though (as opposed to just logging out of gnome or even stopping the display manager).

I seem to recall that you need initially to access the site from the http://localhost/ address which means directly on the server.  If you're expert enough to do it you can get around this (using w3m, lynx, a tunnel or running a browser over ssh) but this is not quite as easy as the normal install.

Gavin
 
Average of ratings: -
Picture of Herbert Keijers
Re: do people not load gnome/kde?
 
Gavin,
you don't need to be "on the server" to install moodle. It can be done from any client pointing to http://your.server.name/yourmoodledir
 
Average of ratings: -
Picture of Gavin McCullagh
Re: do people not load gnome/kde?
 
Hi,

Fair enough.  This was just something that I came across when setting it up.  Moodle was initially configured to run on the localhost (perhaps this is a debian package feature) and going through the admin configuration process didn't work correctly.  It's a few months ago now and I can't exactly recall, maybe I just needed to $CFG->wwwroot.

Gavin
 
Average of ratings: -
Picture of Michael Hall
Re: Which distribution of Linux should we use?
 
Like many have already said, the distro to choose is probably the one you're most comfortable with. All major distros contain much the same core software, most differences are relatively superficial on a server with no GUI.

Anyone running a real world server is going to need general Linux skills regardless of distro, no magic tools fix everything all the time. Community support is an important consideration, more or less in inverse proportion to your Linux admin skills.

Personally, I prefer Slackware for servers but I couldn't recommend it to someone without fairly well developed Linux command line skills. With Slackware, I find it easy to build a lean, mean, robust and secure server that only runs what is absolutely necessary.

For clients that need/want to do some of their own system administration using GUI tools, I have used Fedora 3 without any problems. Moodle requires a fairly standard and well understood LAMP environment and not much more, so I don't see Fedora's stability as a major issue.

Again, Linux is Linux is Linux, no distro provides an automatic guarantee of problem-free sysadministration.


 
Average of ratings: -