On the 31st of May, Uptrennd will stop its services and merge into Trodl.com. More information can be found here: https://www.uptrennd.com/post-detail/the-evolution-of-uptrennd-trodl~ODkxMzMw
Installing Moodle Guide on Windows XAMPP

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.


preview not available
Figure 1. XAMPP control Panel version 3.1.0

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


preview not available
Figure 2. XAMPP Localhost frontpage

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


preview not available
Figure 3. adding moodle's database

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


preview not available
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.


preview not available
Figure 5. moodle installation choose language
preview not available
Figure 6. moodle installation directory path
preview not available
Figure 7. moodle installation choose database driver
preview not available
Figure 8. moodle installation database setting
preview not available
Figure 9. moodle installation copyright notice
preview not available
Figure 10. moodle installation final check
preview not available
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.


preview not available
Figure 12. enabling moodle for local area network
preview not available
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:


preview not available
Figure 14. find C:\Windows\System32\drivers\etc\hosts
preview not available
Figure 15. add your personal domain name ip address translation here
preview not available
Figure 16. find C:\xampp\apache\conf\httpd.conf
preview not available
Figure 17. include vhost configuration file
preview not available
Figure 18. the vhost configuration file was in C:\xampp\apache\conf\extra\httpd-vhosts.conf
preview not available
Figure 19. add the virtual host lines binding the ip address to the domain name
preview not available
Figure 20. moodle with personal local domain name ready

Mirrors


COMMUNITY DETAILS

Computers

6912

Subscriber

1

Online

Engage with all topics about Computers!

RELATED COMMUNITIES

Bitcoin Cash

29898 subscribers

Litecoin

28821 subscribers

Cryptocurrency Mining

28133 subscribers

Trading & TA

25350 subscribers

Zcash

20123 subscribers

Uptrennd Optimization

16973 subscribers

© 2021 UpTrennd.com