Downloading+Moodle

=Downloading Moodle=

When you get to the [|Moodle Download page] you might not notice there are a variety of installation avenues available. I have tried using all of them and each has their own quirks. The most widely distributed version of Moodle is the Linux version. Grabbing the Moodle installation file will be similar to what steps were taken to get the Webmin installation file. I do recommend working from an SSH client rather than the server itself.

1. We need to change the directory to the web accessible directory. At the command prompt, issue the following command: code cd /var/www code

2. From a web browser, go to the [|Moodle Download page] and click the download link for the .tgz file or follow the link [|here]. The file will attempt to start automatically downloading. Cancel that download and then copy the link for the .tgz version of the file from "click here to download manually."

3. At the command prompt, issue the following command, pasting in the link you just copied at the end. code wget http://download.moodle.org/stable18/moodle-latest-18.tgz code The file is only 9.7 MBs so it should not take a very long time to download.

4. Once finished, issue the list command to make sure the file did download. code ls -l

total 8 drwxr-xr-x 2 root root 4096 2007-06-18 07:01 apache2-default drwxr-xr-x 32 root root 4096 2007-07-28 01:35 moodle code There is a default apache2 folder there you can delete by issuing the following command: code rm -R apache2-default code

5. Now decompress the moodle-latest-18.tgz file. code tar zxvf moodle-latest-18.tgz code You will see the moodle file actively decompress.

There is still some setup that needs to be completed before the Moodle installation is complete. Move onto "Installing Moodle" to see the next steps.