Moodle Installation in Rural Area

Moodle Installation in Rural Area

by Dave Jackson -
Number of replies: 17

Dear all,

I will very much appreciate your support and recommendations in order to do a correct installationof Moodle platform (to be powerful and well established) on a server that I am currently working with.

The following are the specifications of the server:

OS: Windows Server 2012
Processor: Intel ® Pentium ® D CPU 2.80 GHz 2.79 GHz
RAM: 2.00 GB
System type: 64 bit
HDD: 1TB

The goal of the system is to allow around 150 'concurrent' users and at least 550 in total and around 20 courses. This project is for a rural school where internet speed is limited, bandwidth is 20 Mbps and there are sometimes power outages. That's why I'd to hear from you expertise what can be a good a approach to get the system running.

Thank you!

Best,





Average of ratings: -
In reply to Dave Jackson

Re: Moodle Installation in Rural Area

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
In reply to Visvanath Ratnaweera

Re: Moodle Installation in Rural Area

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

You may also consider configuring and supporting the Moodle mobile app. This is because it has a connect and synchronize technology whereby you can still work on things when you don't have a working internet connection.  You need to turn it on in your Moodle and make sure you don't rely on any plugins that do not support the App and don't try to deliver things that Mobile devices tend not to support, e.g. Flash.

Average of ratings: Useful (1)
In reply to Visvanath Ratnaweera

Re: Moodle Installation in Rural Area

by James Steerpike -
Picture of Particularly helpful Moodlers

I have set up a Raspberry Pi and it was a great way to learn to install an OS,  LAMP stack and Moodle from scratch. It was perfectly functional and with a tiny router powered by a USB Powerbank,  made a portable solution I could just about carry in my pocket. I loved being able to set it up, then wipe it and start all over. I could see it being used where there was no power, no internet but the students had mobile phones.

But a PI is really an under-powered beast with 1 gig of RAM, a not very powerful CPU and uses a SD card for writes which has a limited life. With the number of students, something a bit more powerful would be  required and these days many obsolete and discarded computers would have far better specs. Cheapest solution might even be a laptop with a dud screen.

I think unless extreme portability is essential for a small number of students, a Moopi is not a practical production server.

As for the rural school - my advice is suck it and see. The server is a good start and is what you have. Set it up with a LAMP stack (if you can - Windows is not considered  optimal for Moodle) , install Moodle and get started - perhaps with one course at first. Don't underestimate the time required to create course material and for teachers to become familiar with the system. I think the best way to learn Moodle is from running it.

But I do wonder - when will the students use the system? If it is independent of the internet and based around a server and wifi, how will they access it without being in wifi range?


Average of ratings: Useful (2)
In reply to James Steerpike

Re: Moodle Installation in Rural Area

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
I know that this reply is late. Still adding a few comments for those who find this discussion in the web.

> I have set up a Raspberry Pi and it was a great way to learn to install an OS, LAMP stack and Moodle from scratch. It was perfectly functional and with a tiny router powered by a USB Powerbank, made a portable solution I could just about carry in my pocket.

Raspberry Pi 3 contains a wireless interface. Therefore it can act as the router too, making an external router unnecessary. That is what the https://moodlebox.net/ does. BTW, the laptop of the teacher could power the Raspberry Pi - no USB power banks necessary.

> But a PI is really an under-powered beast with 1 gig of RAM, a not very powerful CPU and uses a SD card for writes which has a limited life.

True as a general statement, Pi can not be compared to a full blown computer. But for one, Pi 3 Model B has four cores and 2 GB RAM. And secondly, solutions like the MoodleBox doesn't have the standard LAMP stack, it is highly optimized. I don't know how the limited life time of the SD card going to threatens its operation. I use a MoodleBox sporadically. So far nothing happened.

> With the number of students, something a bit more powerful would be required

Yes, it is a matter of the number of _simultaneous_ students and what exactly they are doing simultaneously. I have done a competitive "active quiz" https://moodle.org/plugins/mod_activequiz with time to answer in the range of 10 to 20 seconds in class of 25 participants. Only once the MoodleBox became unresponsive.

> and these days many obsolete and discarded computers would have far better specs. Cheapest solution might even be a laptop with a dud screen.

Have the disadvantage of requiring a power supply and much heavier than a Pi.

> I think unless extreme portability is essential for a small number of students, a Moopi is not a practical production server.

Yes, we are talking about portability (for a rural setup).

> But I do wonder - when will the students use the system? If it is independent of the internet and based around a server and wifi, how will they access it without being in wifi range?

Simple. Technology does not replace the teacher! I am talking about a (rural) class around a _teacher_, who carries a portable LMS.
wink

Edit: Here is another scenario: "Only Quiz for take Exam" https://moodle.org/mod/forum/discuss.php?d=358788.
In reply to Visvanath Ratnaweera

Re: Moodle Installation in Rural Area

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

The thing about the pi is that you know the OS will work with the networking chip. If you go down the old laptop route there tends to be an issue of will Linux support whatever network/wifi chipset it has. I have been trying to identify a good way of getting usb wifi adapters that are likely to reliably work with Linexen. 

Part of the MoodleBox magic is that it uses Ngnx instead of Apache for the server which has performance advantages, particularly with low hardware spec. Hooray for Nicolas Martignoni, hmm what about getting a performance boost by chaining two together, one with the db and one with the server hmmmmmm

A good solution would be a more rugged case than the standard pi and some type of relatively integrated USB style battery. I suspect that using the types of sd cards that are used in surveillance systems might extend the predicted life. 

With reference to when will they use it, in class is the answer smile. It ought to be possible to link up MoodleBox with the RACHEL content....

http://rachelfriends.org/rachel-pi-howto.html


Average of ratings: Useful (2)
In reply to Marcus Green

Re: Moodle Installation in Rural Area

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Hi Marcus

Thanks for all the pointers, especially on RACHEL http://rachelfriends.org/. Very ambitious. Classroom without the Internet has another advantage: it avoids the all distractions of the net. The technology one needs to add RACHEL to a MoodleBox is simple. If I got it right, RACHEL is just static web content. One doesn't need microSD for that, any USB media would do. OK, then one also needs to think of a better power supply. Presently, I power the MoodleBox from my netbook.

Now to the topic of this forum, the performance. I am not convinced whether the complications of a Pi duo are worth what they improve. microSD is inherently slow. So most of the things need to happen in RAM. And as I said in my previous post, I conducted a competitive Active Quiz with 25 participants. Only once the MoodleBox became unresponsive.
In reply to Visvanath Ratnaweera

Re: Moodle Installation in Rural Area

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Yes, I think RACHEL is just static content, though I also believe there is some magic for updating when it is possible to contact the full internet. The PI will take a straight up standard USB drive so perhaps there is promise there.

I agree that a Pi duo is probably over complicating things, but it would be interesting to see what difference it makes. I missed your comment about Active quiz, which I believe gives better performance with a trade off in features. There is also a dedicated intel style RACHEL box

https://worldpossible.org/rachel/

But that is about $US,500 so in a different league to the cost of PI's or repurposed laptops.


In reply to Marcus Green

RACHEL off-line content

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
I had a second look. RACHEL is not strictly static, it is obviously script and database driven. It has "modules" which need registration and comes even with Moodle pre-installed! Check RACHEL Plus Overview t=8m16s
Average of ratings: Useful (1)
In reply to Visvanath Ratnaweera

Re: Moodle Installation in Rural Area

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Yes, I think RACHEL is just static content, though I also believe there is some magic for updating when it is possible to contact the full internet. The PI will take a straight up standard USB drive so perhaps there is promise there.

I agree that a Pi duo is probably over complicating things, but it would be interesting to see what difference it makes. I missed your comment about Active quiz, which I believe gives better performance with a trade off in features. There is also a dedicated intel style RACHEL box

https://worldpossible.org/rachel/

But that is about $US,500 so in a different league to the cost of PI's or repurposed laptops.


In reply to Visvanath Ratnaweera

Re: Moodle Installation in Rural Area

by James Steerpike -
Picture of Particularly helpful Moodlers

The original post wanted " correct installation of Moodle platform (to be powerful and well established) on a server that I am currently working with.". That server already has 2GB of Ram - twice that of a Pi - and probably a faster CPU. I am assuming rural does not mean a place without electricity.

My solution (assuming the Win machine is not used for other purposes) would be to install a basic Linux distro and Moodle.  Add a router ( approx the cost of a Pi) connected by a cable and you have a system which could handle many connections.

Maybe you could use a Pi but why buy a new computer when you already have one that can handle the job? Portability was not specified by the original poster. And powerful and well established does not sound like a classroom of students connecting to the wireless output of a battery driven under-powered computer using a SD card for storage.

Two additional drawbacks of the mobile Pi. There is no shutdown switch on a Pi and if you are short of time or careless and you simply cut the power, you may really screw up your databases and Moodle.  You can use a Mobile phone to shutdown but more complexity.  And my own Pi died in a thunder storm - the only electrical thing that died in the house and probably my fault for using a phone charger rather than an approved power supply. 


In reply to James Steerpike

Re: Moodle Installation in Rural Area

by Nicolas Martignoni -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

>  There is no shutdown switch on a Pi

But it's very easy to add one. It only needs a one line edit in a file (see here: https://github.com/martignoni/moodlebox/issues/53), and a single button with jumpers (see here https://moodle.org/mod/forum/discuss.php?d=363756).

PS. Next disk-image for SD of MoodleBox will have this line added by default.

Average of ratings: Useful (2)
In reply to Nicolas Martignoni

Re: Moodle Installation in Rural Area

by James Steerpike -
Picture of Particularly helpful Moodlers
Sure. Start with a Pi, add your jumper, a SD card and a power supply. (  I used an old phone charger I had already until a thunderstorm fried my Pi.)  All up  $60 to a $100 and you still have a setup which only works within the range of the Pi wifi. 
Or you can hire a VPS by the month and you have something accessible anywhere and anytime.
I am not against the Pi - I bought one - and I can see where there is no mobile signal or students can't access the internet because of cost they could be used in  a classroom. I just think with the cost of an OpenVZ VPS with  2 Gb of Ram with full root access around $5 a month there are better options for running Moodle.

In reply to James Steerpike

Re: Moodle Installation in Rural Area

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Horses for Courses James. There is quite a big chunk of the world where rural means no mobile signal and or no internet connectivity.  For that purpose the Pi is a potential solution.