in house hosting
From MoodleDocs
Linux Servers
- a. Basic software stack.
- i. Apache
- 1) Almost all versions of Linux are shipped with the the Apache web server installed. When configuring Apache, you need to assure that the modules the mime, php5 and rewrite are all enabled on your system. I would also suggest that the SSL module also be enabled.
- ii. MySQL
- 1) The very minimum version of MySQL that Moodle will run on is MySQL 4.1.16, but I would suggest that you run one of the newer version in the 5. series of releases.
- iii. PHP
- 1) The minimum version of PHP is 4.3.0, but you will find that the 5.0 versions of PHP will work better.
- i. Apache
- b. Optional Software
- i. eAccelerator
- 1) If you have a large number of students and classes in your Moodle, I would suggest using the eAccelerator package. This package precompiles the different PHP scripts that Moodle uses and caches them to lower CPU utilization. The one draw back to using eAccelerator is the increase in system memory use. You can download eAccelerator from this website: http://eaccelerator.net/.
- ii. phpMyAdmin
- 1) Is a great little PHP package that allows you to connect to and manage your databases using a nice web interface. One of the biggest drawbacks of using phpMyAdmin is getting the security set correctly.
- iii. Cron
- 1) Cron is used to run scheduled tasks that keep your Moodle server running correctly. Some of the tasks that are run using Cron are backups, sending system email and various clean up functions. For instructions on how to configure Cron for Moodle follow the instructions at: https://docs.moodle.org/en/Cron.
- i. eAccelerator
- c. Installing on Linux
Windows Servers
- a. Basic Software stack.
- i. Web server Software (It is possible to run Moodle using two different packages for serving web pages.
- 1) IIS
- a) Is the basic web server package from Microsoft, which can be installed from the control panel (Add/Remove software).
- 2) Apache
- a) Will need be downloaded from http://httpd.apache.org/docs/2.0/platform/windows.html.
- 1) IIS
- ii. MySQL
- 1) The very minimum version of MySQL that Moodle will run on is MySQL 4.1.16, but I would suggest that you run one of the newer version in the 5. series of releases.
- iii. PHP
- 1) IIS
- a) The minimum version of PHP is 4.3.0, but you will find that the 5.0 versions of PHP will work better.
- b) http://www.peterguy.com/php/install_IIS6.html
- 1) IIS
- i. Web server Software (It is possible to run Moodle using two different packages for serving web pages.
- b. Optional Software
- i. phpMyAdmin
- 1) Is a great little PHP package that allows you to connect to and manage your databases using a nice web interface. One of the biggest drawbacks of using phpMyAdmin is getting the security set correctly.
- ii. Moodle cron
- 1) Moodle Cron is used to run scripts on the server every 5 minutes. You can download Moodle Cron from here: http://download.moodle.org/download.php/sourceforge/MoodleCron-Setup.exe. Documentation for using Cron with Moodle is located on the Moodle website at: https://docs.moodle.org/en/Cron.
- i. phpMyAdmin