We're currently working on documenting the new features and improvements in 5.2, ready for its release soon.

Accessible Moodle Installation

From MoodleDocs

Accessible Moodle Installation

This script aims to simplify the installation of Moodle on Ubuntu servers, setting up the environment in an optimized and user-friendly way.

Requirements

  • Operating system: Ubuntu 18 or higher.
  • Root access (or sudo permission) on the server.
  • Internet connection to download the necessary packages.

Installation

To quickly and easily install Moodle on your Ubuntu server, simply run the following command in the terminal:

sudo curl -s https://raw.githubusercontent.com/EduardoKrausME/moodle_friendly_installation/refs/heads/master/install.sh | bash

This command downloads and runs the installation script, which will automatically set up the environment required to run Moodle on your server.

After running the command, follow the steps prompted on the screen.

What the script does

  1. Installs dependencies: The script automatically installs all necessary packages and dependencies, such as the Apache web server, PHP, MySQL/MariaDB, and other libraries required by Moodle.
  2. Database configuration: It configures MySQL/MariaDB and creates the database for Moodle.
  3. Moodle configuration: The script downloads the latest version of Moodle and sets up the initial system configuration.
  4. Permissions and optimizations: The script adjusts file permissions and optimizes settings to ensure Moodle runs efficiently.

Troubleshooting

If you get the error message:

sudo: curl: command not found

You will need to run:

sudo apt-get install curl