Jump to: navigation, search

Moodle Learning Management System Setup

Revision as of 11:39, 24 September 2012 by Randytate (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Install LAMP stack

sudo apt-get install apache2 mysql-server php5


Download Moodle

Get the latest version of Moodle from www.moodle.com. For example:

cd ~

mkdir downloads

cd downloads

wget -O moodle-latest-23.tgz 'http://downloads.sourceforge.net/project/moodle/Moodle/stable23/moodle-latest-23.tgz?r=http%3A%2F%2Fdownload.moodle.org%2Fdownload.php%2Fstable23%2Fmoodle-latest-23.tgz&ts=1348454379&use_mirror=voxel'

Also download the Spanish/Mexico language pack:

wget 'http://download.moodle.org/download.php/direct/langpack/2.3/es_mx.zip'


Install

Unpack Moodle in /opt

cd /opt/

sudo tar zxvf ~/downloads/moodle-latest-23.tgz

sudo chown -R www-data.www-data moodle

Create an Apache alias to serve Moodle from the http://server/moodle/ folder by creating a file in /etc/apache2/sites-available with the following contents:

Alias /moodle /opt/moodle
<Directory "/opt/moodle">
   Order allow,deny
   Allow from all
</Directory>

Enable the alias and restart Apache:

sudo a2ensite moodle

sudo service apache2 reload

Moodle Setup

Continue the setup and configuration of Moodle using a browser at http://server/moodle/