Install Moodle Online LMS

Moodle LMS Showing Once Course
Revised 42 sec read

Setup Moodle In Two Ways

Learn how to install Moodle LMS from the command line and graphically.

The web application Moodle is a free and open source PHP online Learning Management System (LMS) for creating, managing and publishing website content. Online websites require and SSL Certificate when handling sensitive data such as customer data or payment details. It is recommended to always use an SSL Certificate.

The Moodle software has to be installed on a web server.

Download And Install Moodle

Download

The forum software Moodle can be downloaded from Moodle. Then the downloaded file is extracted directly on the server or locally before individual files are uploaded if applicable.

HTTP Server

The application Moodle requires an HTTP server such as NGINX or Apache HTTP Server in order to deliver web content over the internet. The HTTP server must include the server-side PHP programming language as an extension.

Database

The software Moodle requires one of the following databases and their applicable PHP extension.

  1. MySQL or compatible database such as MariaDB and its compatible PHP MySQL Extension.
  2. PostgreSQL and its compatible PHP PostgreSQL Extension.
  3. MS SQL Server and its compatible PHP ODBC or native Extension.

The database can be managed on the command line or via phpMyAdmin which is a web-based database administration tool for MySQL and MariaDB.

Perform MySQL Database Requirements

CREATE DATABASE dbname;
CREATE USER 'dbusername'@'localhost' IDENTIFIED BY 'dbpassword';
GRANT ALL PRIVILEGES ON dbname.* TO 'dbusername'@'localhost';

Moodle Language Chooser
Moodle Installer Displaying Language Chooser

Moodle Path Confirmation
Moodle Installer Displaying Path Confirmation
Moodle Database Driver
Moodle Installer Displaying Database Driver

Moodle Installation Database Configuration
Moodle Installer Displaying Database Configuration Screen

Moodle Installation License Agreement
Moodle Installer Displaying License Agreement Screen

Moodle Installation Server Configuration
Moodle Installer Displaying Server Configuration Screen

Moodle Installation Release
Moodle Installer Displaying Release Screen

Moodle User Configuration
Moodle Installer Displaying User Configuration Screen

Moodle Site Configuration
Moodle Installer Displaying Site Configuration Screen

Moodle Administration Area
Moodle Displaying Administration Control Panel


Open Source

The Moodle software is released under the terms of the GNU General Public License (GPL) version 3. The copyleft license comes with strict rules and requirements to ensure the software remains free and open-source. It allows commercial use, modification, distribution, and allows making derivatives proprietary, consult the license for more specific details.

The phpMyAdmin software is licensed under the terms of the GNU General Public License (GPL) version 2. The copyleft license comes with strict rules and requirements to ensure the software remains free and open-source. It allows commercial use, modification, distribution, and allows making derivatives proprietary, consult the license for more specific details.

The Apache HTTP Server is licensed under the Apache License version 2.0. The permissive license requires the preservation of the copyright notice and disclaimer. It allows commercial use, modification, distribution, and allows making derivatives proprietary, consult the license for more specific details.

The NGINX Web Server is licensed under the Nginx License which is 2-clause BSD-like. The permissive license requires the preservation of the copyright notice and disclaimer. It allows commercial use, modification, distribution, and allows making derivatives proprietary, consult the license for more specific details.

The MySQL Community Server is licensed under the GNU General Public License Version 2.0. The copyleft license comes with strict rules and requirements to ensure the software remains free and open-source. It allows commercial use, modification, distribution, and allows making derivatives proprietary, consult the license for more specific details.

The MariaDB Server is licensed under the GNU General Public License Version 2.0 and the client libraries for C, Java, and ODBC are distributed under the GNU Lesser General Public License, version 2.1 or later (LGPLv2.1). These copyleft licenses comes with strict rules and requirements to ensure the software remains free and open-source. It allows commercial use, modification, distribution, and allows making derivatives proprietary, consult the license for more specific details.

The PHP License is an open-source under which the PHP scripting language is released. The permissive license has conditions requiring preservation of copyright and license notices. Redistribution is permitted in source or binary form with or without modifications, consult the license for more specific details.

Conclusion:

The LMS application Moodle is easy to install once you meet all the requirements for the server and database. Install Moodle Online LMS using the command line or graphically using a web browser and phpMyAdmin.

If you enjoy this article, consider supporting me by purchasing one of my OjamboShop.com Online Programming Courses or publications at Edward Ojambo Programming Books or simply donate here Ojambo.com Donate

References:

🚀 Recommended Resources


Disclosure: Some of the links above are referral links. I may earn a commission if you make a purchase at no extra cost to you.

About Edward

Edward is a software engineer, author, and designer dedicated to providing the actionable blueprints and real-world tools needed to navigate a shifting economic landscape.

With a provocative focus on the evolution of technology—boldly declaring that “programming is dead”—Edward’s latest work, The Recession Business Blueprint, serves as a strategic guide for modern entrepreneurship. His bibliography also includes Mastering Blender Python API and The Algorithmic Serpent.

Beyond the page, Edward produces open-source tool review videos and provides practical resources for the “build it yourself” movement.

📚 Explore His Books – Visit the Book Shop to grab your copies today.

💼 Need Support? – Learn more about Services and the ways to benefit from his expertise.

🔨 Build it Yourself – Download Free Plans for Backyard Structures, Small Living, and Woodworking.