Installing Moodle Guide on Windows XAMPP

avatar

In my previous guide, I wrote a tutorial of installing Moodle learning management system (LMS) on my preferred server operating system (OS) for general users Ubuntu, a Debian based Linux. If you really do not want to try Ubuntu and go ahead with Windows, here I provide a tutorial that was my undergraduate assignment in 2013. Yes, it is behind times but they are still similar where you can maneuver the difference yourself. Another side, if this tutorial does not serve as a guide, then it can serve as a memory for those who are curious of how XAMPP 1.8.1 and Moodle 2.3.2 is back then.

Download XAMPP on http://www.apachefriends.org/en/xampp-windows.html , and install. Open the control panel if already install, apache and mysql is necessary for localhost.

Figure 1. XAMPP control Panel version 3.1.0.png

Figure 1. XAMPP control Panel version 3.1.0

Open your browser and type http://localhost, if succeeded it should look like below.

Figure 2. XAMPP Localhost frontpage.png

Figure 2. XAMPP Localhost frontpage

Open http://localhost/phpmyadmin Go to database and add your moodle's database.

Figure 3. adding moodle's database.png

Figure 3. adding moodle's database

Download Moodle at https://download.moodle.org/ and extract them to C:xampp\htdocs

Figure 4. extracting moodle folder to localhost.png

Figure 4. extracting moodle folder to localhost

On your browser open http://localhost/moodle and follow the installation which should be similar to my previous guide with just different version.

Figure 5. moodle installation choose language.png

Figure 5. moodle installation choose language

Figure 6. moodle installation directory path.png

Figure 6. moodle installation directory path

Figure 7. moodle installation choose database driver.png

Figure 7. moodle installation choose database driver

Figure 8. moodle installation database setting.png

Figure 8. moodle installation database setting

Figure 9. moodle installation copyright notice.png

Figure 9. moodle installation copyright notice

Figure 10. moodle installation final check.png

Figure 10. moodle installation final check

Figure 11. insert admin profile after successful installation.png

Figure 11. insert admin profile after successful installation

For moodle to be available in local area network open with notepad C:xamppmoodle\config.php and change the following line:

$CFG->wwwroot = 'http://localhost/moodle'; to your ip address, $CFG->wwwroot = 'http://172.16.150.45/moodle';

DON'T FORGET "http". That was my mistake. Oh and today it is "https" so do keep up with modern times.

Figure 12. enabling moodle for local area network.png

Figure 12. enabling moodle for local area network

Figure 13. moodle for local area network.png

Figure 13. moodle for local area network

If you don't know how to configure IP address, go to previous tutorial. Back in my undergraduate course, I was also asked to run Moodle on a local domain. Therefore, the following steps are additional but optional:

Figure 14. find C Windows System32 drivers etc hosts.png

Figure 14. find C:\Windows\System32\drivers\etc\hosts

Figure 15. add your personal domain name ip address translation here.png

Figure 15. add your personal domain name ip address translation here

Figure 16. find C xampp apache conf httpd.conf.png

Figure 16. find C:\xampp\apache\conf\httpd.conf

Figure 17. include vhost configuration file.png

Figure 17. include vhost configuration file

Figure 18. the vhost configuration file was in C xampp apache conf extra httpd-vhosts.conf.png

Figure 18. the vhost configuration file was in C:\xampp\apache\conf\extra\httpd-vhosts.conf

Figure 19. add the virtual host lines binding the ip address to the domain name.png

Figure 19. add the virtual host lines binding the ip address to the domain name

Figure 20. moodle with personal local domain name ready.png

Figure 20. moodle with personal local domain name ready

Mirrors



0
0
0.000
1 comments
avatar

Congratulations @fajar.purnama! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

You distributed more than 50 upvotes. Your next target is to reach 100 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

0
0
0.000