Install Moodle 5.2 on Ubuntu 24.04 LTS
Install Moodle 5.2 on Ubuntu 24.04 step by step with Apache, MariaDB, PHP 8.3, verification, and a complete companion command guide.
What you will accomplish
A working Moodle 5.2 installation on a Linux server, with the core web stack configured and the result verified.
Environment covered
Moodle 5.2 · Ubuntu 24.04 LTS · Apache · MariaDB · PHP 8.3
Open the companion guide
The exact commands for this tutorial are maintained as a GitHub Gist, which stays the canonical command reference.
This is practical lab and tutorial guidance. A working lab, a public demonstration system, and a production environment are not the same thing: check capacity, data protection, change control, and recovery requirements before applying any of it to a system that people depend on.