Creating the LMS environment

icon picker
Installing Moodle LMS

To install the LMS we will begin by downloading the lms files from Moodle’s site.
1.png
2.png
Once you have downloaded the Zipped file, we willl connect to the VM/Instance using an FTP software like . If you have not covered how to connect to a VM Instance, check out this .
Follow the next steps to ensure successful installation of the LMS.
Navigate to the folder we want to install the LMS, preferably, we will install the LMS in the www folder in our server directory: The path to the directory should be /var/www

cd /var/www
Create a folder through the terminal using the following command: Note, each command needs to executed seperately

sudo mkdir -p /var/www/<name of the lms folder>

sudo chown -R www-data:www-data /var/www/<nameof the lms folder>

sudo chmod -R 777 /var/www/<name of the lms folder>
As uploaded the file is a zipped file e.g To extract it, use the following command:

sudo unzip <name of the zipped file>
4. Confirm that the folder looks like this
/var/www/<name of lms folder>/moodle
Finally, let’s now create the Virtual host configuration file that will direct the domain name accessed through the browser to our moodle installation.


Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.