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.
- Configure your web server with PHP.
- Create data directory for LMS files and LMS data (moodledata).
- Create one empty database.
- Download and
- 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.
For example, using MySQL: CREATE DATABASE LMS_DB_NAME DEFAULT CHARACTER SET UTF8 COLLATE utf8_unicode_ci;
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 moodleuser@localhost IDENTIFIED BY ‘yourpassword';
Use phpMyAdmin GUI for MYSQL
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).
After accessing the LMS files the following screen appears
i. First choose a language.
ii. Next confirm the Moodle Path.
iii. Choose the database driver.
iv. Select the database settings.
v. Continue the Installation process.
vi. The server checks all php extensions and continues the installation process.
After the successful installation, you can give your administration details and start using it.
These are the 5 simple steps that enable you to install the LMS easily. Have anything to say? Please do share!
Subscribe to Our Blogs
Get CommLab's latest eLearning articles straight to your inbox. Enter your email address below: