Installing Moodle: Difference between revisions

Jump to navigation Jump to search
Made images local. Converted HTML tags to Wiki format. Moved to Applications category.
(Made images local. Converted HTML tags to Wiki format. Moved to Applications category.)
Line 5: Line 5:
1. You've downloaded The Uniform Server and it's working correctly
1. You've downloaded The Uniform Server and it's working correctly


2. You've downloaded the '''Latest Stable Branch''' of Moodle from http://download.moodle.org/
2. You've downloaded the '''Latest Stable Branch''' of Moodle from [http://download.moodle.org/ http://download.moodle.org/]


3. You've unzipped (extracted) your download into the www folder of The Uniform Server so that the files are located in W:\www\moodle\
3. You've unzipped (extracted) your download into the www folder of The Uniform Server so that the files are located in W:\www\moodle\




If you've met all of the above requirements, just double click the Server_Start.bat file. This is where the magic happens!<br><br>You may receive a warning here, just okay the pop up box and move on. You should now see the Uniform Server Admin Panel.
If you've met all of the above requirements, just double click the Server_Start.bat file. This is where the magic happens!


http://www.seedwiki.com/accounts/Duncan_Geof_24883/usapanel.png
You may receive a warning here, just okay the pop up box and move on. You should now see the Uniform Server Admin Panel.
 
[[Image:Usapanel.png]]




Apache is now running, now we just need to start the MySQL server and we've got the minimum requirements to run Moodle. So, choose to Run MySQL:
Apache is now running, now we just need to start the MySQL server and we've got the minimum requirements to run Moodle. So, choose to Run MySQL:


http://www.seedwiki.com/accounts/Duncan_Geof_24883/startmysql.gif
[[Image:Startmysql.gif]]




This should now bring you to a confirmation page that tells you MySQL started correctly. Now we need to create a database to use with Moodle. So, we'll take the easy way out and use phpMyAdmin (Under Tools) to create the database and user for the database.<br><br>
This should now bring you to a confirmation page that tells you MySQL started correctly. Now we need to create a database to use with Moodle. So, we'll take the easy way out and use phpMyAdmin (Under Tools) to create the database and user for the database.<br /><br />


http://www.seedwiki.com/accounts/Duncan_Geof_24883/phpmyadmin.gif          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://www.seedwiki.com/accounts/Duncan_Geof_24883/phpmyadmin2.gif


Now according to the official documentation at http://docs.moodle.org/en/Installing_Moodle in your database system along with a special user (eg "moodleuser") that has access to that database (and that database only). You could use the "root" user if you wanted to for a test server, but this is not recommended for a production system: if hackers manage to discover the password then your whole database system would be at risk, rather than just one database."
[[Image:Phpmyadmin.gif]]      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[[Image:Phpmyadmin2.gif]]
 
Now according to the official documentation at http://docs.moodle.org/en/Installing_Moodle in your database system along with a special user (eg "moodleuser") that has access to that database (and that database only). You could use the "root" user if you wanted to for a test server, but this is not recommended for a production system: if hackers manage to discover the password then your whole database system would be at risk, rather than just one database.  


So, we'll use the phpMyAdmin to:
So, we'll use the phpMyAdmin to:


<b>Step 1: Create a new database<br></b>Type "moodle" in the <b>Create new database</b> field and click "<b>Create</b>". You should get a confirmation screen like the one below.
'''Step 1: Create a new database'''
 
Type "moodle" in the '''Create new database''' field and click "'''Create'''". You should get a confirmation screen like the one below.
 
[[Image:Moodledb.gif]] &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[[Image:Dbcreated.gif]]
 
'''Step 2: Create a database user for the moodle database only.'''
 
Click on the home button so we can choose the "Privileges" section to create our new user and assign him privileges to the moodle database.
 
 
[[Image:Gohome.gif]] &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[[Image:Privileges.gif]]
 
 
 
'''Step 3: Add a new User'''
 
Let's call this new user "moodleuser". <br />Use the drop down menu to allow him use only to Local (localhost) and type a password for moodleuser. Press '''Go''' on the bottom of the screen to continue.
 
 
 
[[Image:Addanewuser.gif]] &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[[Image:Moodleuser.gif]]
 
 
'''Step 4: Assign User privileges to the database'''
 
Choose the "moodle" database from the "Add privileges to the following database" drop down menu. Click on "Check All" to assign all privileges to the moodle database and press '''Go''' to continue.
 
 
 
[[Image:Addprivilegesdb.gif]] &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[[Image:Dbprivileges.gif]]
 
 
You should then receive a confirmation screen. You can close phpMyAdmin now.
 


http://www.seedwiki.com/accounts/Duncan_Geof_24883/moodledb.gif &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://www.seedwiki.com/accounts/Duncan_Geof_24883/dbcreated.gif
'''Step 5: Run the Moodle install'''


<b>Step 2: Create a database user for the moodle database only.</b> <br>Click on the home button so we can choose the "Privileges" section to create our new user and assign him privileges to the moodle database.<br><br>
Direct your browser to http://localhost/moodle/.


http://www.seedwiki.com/accounts/Duncan_Geof_24883/gohome.gif &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://www.seedwiki.com/accounts/Duncan_Geof_24883/privileges.gif<br><br>
Time to start configuring Moodle!


<b>Step 3: Add a new User</b><br>Let's call this new user "moodleuser". <br>Use the drop down menu to allow him use only to Local (localhost) and type a password for moodleuser. Press <b>Go </b>on the bottom of the screen to continue.<br>
http://www.seedwiki.com/accounts/Duncan_Geof_24883/addanewuser.gif &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://www.seedwiki.com/accounts/Duncan_Geof_24883/moodleuser.gif
<br>
<br>
<b>Step 4: Assign User privilges to the database</b><br>Choose the "moodle" database from the "Add privileges to the following database" drop down menu. Click on "Check All" to assign all privileges to the moodle database and press <b>Go</b> to continue.<br><br>
http://www.seedwiki.com/accounts/Duncan_Geof_24883/addprivilegesdb.gif &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://www.seedwiki.com/accounts/Duncan_Geof_24883/dbprivileges.gif<br>


<br>You should then receive a confirmation screen. You can close phpMyAdmin now. <br><br>


<b>Step 5: Run the Moodle install</b>
[[Image:Moodleinstall.gif]]
<br>Direct your browser to http://localhost/moodle/.<br>Time to start configuring Moodle!<br><br>
http://www.seedwiki.com/accounts/Duncan_Geof_24883/moodleinstall.gif


Any additional guidance from this point forward would be best found in the forums at http://moodle.org/
Any additional guidance from this point forward would be best found in the forums at http://moodle.org/
Line 54: Line 87:




[[Category: Setup]]
[[Category: Applications]]
[[Category: User Made|Tutorials]]
[[Category: Self Install]]
[[Category: How To]]
[[Category: Installation]]

Navigation menu