Installing+Moodle

=Installing Moodle=

Now that Moodle has been downloaded, it is ready to be installed. First we will use Webmin to create a folder for any files that are uploaded to the server. Then we will use a web browser and complete the installation of Moodle.

1. Login to the Webmin interface.
 * Create a Moodledata folder**

2. Click "Others," then "File Manager."

3. Move to the /var/ folder.

4. Click "//New//." There are several "News" so make sure it is the one that looks like a file folder.

5. Enter "///var/moodledata//" in the window that pops up. Click "//Create//."

6. Click the "Info" button and a new window will pop-up (make sure pop-up blockers are turned off). Check all boxes for "//User://" and "//Group://" and set the User and Group names to "//www-data//" for each respectively (picture incorrectly shows www for //User:// and //Group://).


 * Installing Moodle via Web Browser**

1. Open a web browser and put in the IP address of your server followed by "/moodle." For example: code 172.17.254.1/moodle code

2. The first screen that should come up will ask you which language you wish to install. You will want to change that to "English (en_us)." However, if that language is not available then the default will be just fine -- "English (en)."

3. The PHP settings are now checked by the server. If everything checks out, you should see "Pass" across the board. If the GD version fails, issue the following command: code apt-get install php5-gd code

4. The data directory setup earlier /var/moodledata should come into play here. However, if there is a different place you have set your data directory, make sure to change it from the default. Moodle will stop the installation if the permissions on that folder are not correct or if the location of that folder is incorrect or non-existent.

5. This next page will confirm your MySQL settings. You will need to enter your username and password for the MySQL user you created earlier. The database name will also need to be entered (defaults to "//moodle//.")

6. One last check of the environment and Moodle should come up as OK.

7. Ignoring the additional language packs (unless you really need a server in anything other than English), your Moodle installation is almost complete. However, there is one snag. You will have to create the config.php file and place it into the "//moodle//" directory in "///var/www//." Simply, go into Webmin and return to the File Manager. Go into "///var/www/moodle//." Now, click the "//New//" button that looks like a piece of paper. Create a file with the name "///var/www/moodle/config.php//" and copy and paste the information in the Moodle installation window. Then click "//Save & Close//." 8. Now you come to a screen similar to one we have all seen at one time or another. A license screen. Feel free to follow the affirmative that will get the rest of Moodle installed. Feel free to also use the "//Unattended Install//" option which will speed up getting into the actual Moodle interface.

9. Finally, setup the administrator account. I do not recommend using your actual name. Keep the administrator account very generic. You can always later set yourself up as an administrator as well. You will also need to setup the Front Page settings at this point. Again, you can keep it very generic here, and always go back to adjust those settings.

10. VOILA! One basic Moodle environment. You are ready now to being "Administering Moodle."