Jump to: navigation, search

Moodle Learning Management System Setup: Difference between revisions

No edit summary
No edit summary
 
Line 19: Line 19:


<code>wget 'http://download.moodle.org/download.php/direct/langpack/2.3/es_mx.zip'</code>
<code>wget 'http://download.moodle.org/download.php/direct/langpack/2.3/es_mx.zip'</code>
==== Install ====
Unpack Moodle in <code>/opt</code>
<code>cd /opt/</code>
<code>sudo tar zxvf ~/downloads/moodle-latest-23.tgz</code>
<code>sudo chown -R www-data.www-data moodle</code>
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:
<code>sudo a2ensite moodle</code>
<code>sudo service apache2 reload</code>
==== Moodle Setup ====
Continue the setup and configuration of Moodle using a browser at http://server/moodle/

Latest revision as of 11:39, 24 September 2012

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/