5 Easy Steps for Installation of Moodle LMS

5 Easy Steps for Easy Installation of Moodle LMS

Moodle is an open-source LMS that can cater to your training management needs very effectively. It is a cost-effective LMS to host your eLearning courses, track your learners progress and generate reports, courses completion certificates, etc.

Here I would like to share with you 5 steps that enable you to install Moodle easily.

  1. Configure your web server with PHP.
  2. Create data directory for LMS files and LMS data (moodledata).
  3. Create one empty database.
  4. Download and
  5. Install Moodle.

1. Configure your web server with PHP:

Configure your webserver with PHP (e.g., Apache) and database (e.g., MySQL or PostgreSQL), for offline e.g., on local host XAMPP or WAMP or LAMP servers.

2. Create data directory for Moodle LMS files and Moodle data:

In the PHP-configured server, create a directory for Moodle files (e.g., xampp/htdocs /moodle files directory). And also create one more Moodle data directory outside the server (e.g., xampp/moodledata directory).

3. Create one empty database:

Using your database server (like MySQL DB), create a new empty database. The default encoding should be UTF8.


Create a user/password combination with appropriate permissions for Your LMS DB. For example (MySQL again): mysql>GRANT SELECT,INSERT, CREATE, UPDATE , DELETE,CREATE TEMPORARY TABLES,DROP,INDEX,ALTER ON YOUR LMS DB.* TO [email protected] IDENTIFIED BY ‘yourpassword’;

Or else

Use phpMyAdmin GUI for MYSQL

Create one empty database

4. Download Moodle:

Download Moodle from moodle.org. Unzip the downloaded file and copy the Moodle LMS files to your configured server (e.g., On Xampp, move to /xampp/htdocs/ Your LMS Directory).

Check all the permissions once and make sure that the web server permits to write on the selected files in the Moodle LMS directories (a very common root cause of sites being hacked).

Access the Moodle LMS files from the web server
For offline (http://localhost/Your LMS files directory).

For online (http://www.yourdomain.com/ YourLMS files directory).

5. Install:

After accessing the LMS files the following screen appears

i. First choose a language.

First Choose a language

ii. Next confirm the Moodle Path.

Next Confirm the Moodle Path

iii. Choose the database driver.

Choose database  driver

iv. Select the database settings.

Select the database settings

v. Continue the Installation process.

Continue the Installation process

vi. The server checks all php extensions and continues the installation process.

Server checks all php extensions and continue the installation process

server checks all php extensions and continues the installation process.

After the successful installation, you can give your administration details and start using it.

After the successful installation

These are the 5 simple steps that enable you to install the LMS easily. Have anything to say? Please do share!

View E-book on How to Harness Moodle LMS Efficiently to Meet Your Training Needs