Moodle Learning Management System Setup: Difference between revisions
(Created page with " ==== Install LAMP stack ==== <code>sudo apt-get install apache2 mysql-server php5</code>") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
==== Install LAMP stack ==== | ==== Install LAMP stack ==== | ||
<code>sudo apt-get install apache2 mysql-server php5</code> | <code>sudo apt-get install apache2 mysql-server php5</code> | ||
==== Download Moodle ==== | |||
Get the latest version of Moodle from www.moodle.com. For example: | |||
<code>cd ~</code> | |||
<code>mkdir downloads</code> | |||
<code>cd downloads</code> | |||
<code>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'</code> | |||
Also download the Spanish/Mexico language pack: | |||
<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/