What are the requirements for setting up a moodle site in a Windows server?

What are the requirements for setting up a moodle site in a Windows server?

by Ezekiel del Mundo -
Number of replies: 14

Can I set up a moodle site by an intranet connection? or using Windows server?

What are the requirements? System, Software and Hardware requirements?

TIA

Average of ratings: -
In reply to Ezekiel del Mundo

Re: What are the requirements for setting up a moodle site in a Windows server?

by Usman Asar -
Picture of Plugin developers Picture of Testers

Ezekiel,

The hardware pretty much depends on, how many users will be using the Moodle, so without you telling what do you intend to use Moodle as, I cannot exactly tell what hardware you require, if you intend to test moodle on Windows based server, then any hardware that can run windows server will run moodle as well.

Regarding Software, if you choose to use Windows Server, then it will be web server, IIS (though you can use Apache depending on how expert you are in Apache), PHP (Non-Thread safe either of x64 or x86, and MySQL (or MariaDB, PostgreSQL, MS SQL Server - Your choice) as with Windows machine database has more options.

Specific requirements for each of Moodle are available with version number, though for latest it is PHP 5.4.4 and MySQL 5.5.31 at minimum (doesn't means you cannot use latest releases).


In reply to Usman Asar

Re: What are the requirements for setting up a moodle site in a Windows server?

by Ezekiel del Mundo -

Usman,


How about 5000+ users?

and I am also planning to use internally using an intranet connection. Is that even possible?

Thanks for the quick response

In reply to Ezekiel del Mundo

Re: What are the requirements for setting up a moodle site in a Windows server?

by Usman Asar -
Picture of Plugin developers Picture of Testers

Of course possible, MOST of the large implementations are working this way, running on Intranet, rest combo of Both Inter and Intranet and rest remains internet only. 

Regarding 5000+ users, it as well depends how many will be online, as you can have 20K users registered on a Moodle that is running on very basic class computer, as its just database, when it comes to how many users use the Moodle that is where you require a strong hardware, general Moodle's recommendation is 1GB RAM for every 20 users concurrent, now these 20 concurrent users means, all 20 have clicked a button, or called something in Moodle, so on a very busy site, you can expect some less than 100 users termed as concurrent.

Assuming from your 5000+ users we can safely assume 10% being a mix of Online and concurrent users, and then it as well depends what they are doing, as just fetching a lesson and reading a page from Moodle wont take much of resources, but if you talk about taking Quiz, Chat etc then you can expect high database I/O's, so a safe assumption is Single XEON E3 Class - Quad Core - Hyper Threaded CPU, some 24GB (Minimum RAM) and hard drive space is pretty much dependent upon your content (videos will take more space than text).

In addition to above combination, I would really suggest getting hard discs on RAID-1, and if you can, use SSD Drives for their high I/O's and its the database that kills performance.

In reply to Usman Asar

Re: What are the requirements for setting up a moodle site in a Windows server?

by Matteo Scaramuccia -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi All,
just a small correction: the Moodle golden rule is 1GB RAM for every 10-20 users since 2.1. For the record, it was 1GB/50 users up to 2.0.

The last versions are more on the 10 side.

HTH,
Matteo

In reply to Matteo Scaramuccia

Re: What are the requirements for setting up a moodle site in a Windows server?

by Usman Asar -
Picture of Plugin developers Picture of Testers

its very unlikely that Ezekiel will be installing any version prior to 2.0, that is why I haven't mentioned earlier versions taking less resources than current ones.

In reply to Matteo Scaramuccia

Re: What are the requirements for setting up a moodle site in a Windows server?

by Ezekiel del Mundo -

Hi Matteo,

So, it is better to use the version 2.0 than the latest version of moodle?

In reply to Ezekiel del Mundo

Re: What are the requirements for setting up a moodle site in a Windows server?

by Don Hinkelman -
Picture of Particularly helpful Moodlers Picture of Plugin developers

No, absolutely not. You should use the latest Moodle version, because old versions of Moodle are no longer supported for security and lack features.

As a case, when we do foreign language placement testing of 200 concurrent users, with a 50 question multi-media quiz, 8mb server RAM has been sufficient.  (Note: on a LAMP server)

In reply to Don Hinkelman

Re: What are the requirements for setting up a moodle site in a Windows server?

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
`Are you content now?' said the Caterpillar.

`Well, I should like to be a little larger, sir, if you wouldn't mind,' said Alice: `three inches is such a wretched height to be.'

`It is a very good height indeed!' said the Caterpillar angrily, rearing itself upright as it spoke (it was exactly three inches high).

smile
In reply to Ezekiel del Mundo

Re: What are the requirements for setting up a moodle site in a Windows server?

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Wrong! The problem is in the very short answer to a long story.
smile

The fact is that the memory usage of Moodle, like in many other software, has been continuously increasing with time. OK, there were small fluctuations, but generally upwards. Perhaps the biggest jump was during the generation change from Moodle 1 to Moodle 2.

Upto 1.9 there was this rule-of-thumb "that Moodle can support 50 concurrent users for every 1GB of RAM" https://docs.moodle.org/19/en/Installing_Moodle#Hardware. The Moodle Doc for the next version https://docs.moodle.org/20/en/Installing_Moodle#Hardware still says the same, I guess it is a lapse in the document updates. Compare that to https://docs.moodle.org/21/en/Installing_Moodle#Hardware which says, "that Moodle can support 10 to 20 concurrent users for every 1GB of RAM". Matteo is refering to these numbers to stress the fact that the rough number of concurrent users per 1 GB RAM has been decreasing from 50 (1.9), 20 (2.1) to 10 (2.9).

There is no point in talking about Moodle 2.0, 2.2, ... say 2.6, they have long being abandoned. Moodle 1.9 survived most of them, is still a running strong, see https://moodle.net/stats/, it is the Windows XP of Moodle! If you are low on RAM and expect a lot of concurrent users you might be forced to 1.9, if you don't have the skill (Windows server) or invest on Linux skills, nginx, php-fpm, etc., and be able to get the maximum out of your hardware. For an extreme example, visit https://moopi.mrverrall.co.uk, which is a Rapberry Pi. Discussion here: https://moodle.org/mod/forum/discuss.php?d=312419.

You are going to hear a big commotion asking you to go for the newest, everything else is insecure, etc. That is for the Developed World. The conditions in the developing countries are different. Just the other day we helped to pull a Moodle 1.7(!) in India to 1.9: https://moodle.org/mod/forum/discuss.php?d=313623.
In reply to Visvanath Ratnaweera

Re: What are the requirements for setting up a moodle site in a Windows server?

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

To be honest, I think I plucked that figure out of the air (after a bit of experimenting) when I re-wrote the installation docs. It's probably a little pessimistic but as nobody understands what "concurrent users" mean it hardly matters anyway. 

It should get you in the ballpark. After that it's the admin's responsibility to monitor the memory usage of the system in use. 

Average of ratings: Useful (2)
In reply to Ezekiel del Mundo

Re: What are the requirements for setting up a moodle site in a Windows server?

by Matteo Scaramuccia -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi Ezekiel,
no, it's better to know the exact requirements wink, than it's up to you to play with old, bugged and no more supported versions.

You could use 2.7 but nothing older and the difference between 2.7 and 2.9 in terms of performances are negligible compared with the benefits of some new features in 2.9 - which could be valuable or not, depending on the targets of your instance.

You need to define a budget keeping in mind that "the lowest" is not a good starting point to serve 5K+ users. Start defining your desired concurrency, the required amount of disk space to host the supposed materials your teachers will add, stick with Linux as OS and follow the MooPI guidelines here about how to create a nice environment in terms of SW&Configuration - not strictly the same HW! - where hosting your Moodle instance.

HTH,
Matteo

Average of ratings: Useful (1)
In reply to Ezekiel del Mundo

Re: What are the requirements for setting up a moodle site in a Windows server?

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Did you read the initial information here: https://moodle.org/mod/forum/post.php?forum=94 ?
In reply to Visvanath Ratnaweera

Re: What are the requirements for setting up a moodle site in a Windows server?

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

Moving to the Installation help forum...