Moodle (abbreviation for Modular Object Oriented Dynamic Learning Environment) is a free source e-Learning software platform, also known as a Course Management System, Learning Management System, or Virtual Learning Environment (VLE).
Some typical features of Moodle are:
- Assignment submission
- Discussion forum
- Files download
- Moodle instant messages
- Online calendar
- Online news and announcement (College and course level)
- Online quiz
Here are the basic steps to install moodle.
Step 1: Move into your web directory i.e /var/www
Step 2: Download moodle archive from http://download.moodle.org/stable19/moodle-latest-19.tgz
Step 3: Extract the folder
Step 4: Make a folder moodledata where whole data of moodle gets stored.
Step 5: Change the owner of this moodledata folder and moodle folder, to www-data.
cd /var/www sudo wget http://download.moodle.org/stable19/moodle-latest-19.tgz sudo tar -zxf moodle-latest-19.tgz sudo mkdir /var/moodledata sudo chown -R www-data:www-data /var/moodledata sudo chown -R www-data /var/www/moodle
Step 6: Create a database for moodle. For this
Open in browser http://localhost/phpmyadmin
Create a database named as moodle with option utf8_unicode_ci selected.
Visit your Moodle site with a browser, you should be taken to the install.php script, which will lead you through creating a config.php file and then setting up Moodle, creating an admin account etc.
Open in browser http://localhost/moodle/install.php
Fill all the asked options. In data directory , give path of moodledata folder i.e /var/moodledata
During this continuity, you will come to page that will show you which softwares are needed to be installed for proper functioning of moodle. So install all that ones. When all status become ok. Click update.
At end it will ask for moodle site name,password etc. Give all information .
Step 8: Last step is to setup cron jobs to call the file admin/cron.php every five minutes or so.. Its necessary step that need to be done essentially.
Once you have selected (and tested!) an appropriate command to invoke the Moodle cron it must be added to the web users ‘crontab’ to schedule it to run regularly. ‘Crontab’ is both a file containing the user’s cron commands and is also the name of the (command line) program used to edit it. Use the following command (as root) substituting the correct user in place of ‘www-data’ (e.g. ‘apache’ for Centos, ‘www-data’ for Debian/Ubuntu – Google will know!)
# crontab -u www-data -e
Message is displayed:
no crontab for www-data – using an empty one
This will bring up an editor window (the first time it may ask you which editor to use).
Select an editor. To change later, run ‘select-editor’.
2. /bin/nano <—- easiest
Choose 1-4 : 2
Add the command onto the end of the file in this way (it may be empty or it may have some instructional comments):
*/15 * * * * /usr/bin/php /path/to/moodle/admin/cli/cron.php
As in step 7, Other softwares need to be installed. Mostly they are:
sudo apt-get install php5-intl sudo apt-get install php5-xmlrpc sudo apt-get install php5-curl sudo /etc/init.d/apache2 restart
And moodle is ready to use. Create courses and certificates and much more in it. Have fun 🙂
Note: You can refer: