Moodle 3.9

On this page, we explain step by step how to setup Moodle 3.9 with CloudPanel.


In the following example we will setup Moodle under the domain


Before we can start with the installation, we need to create an SSH User, a Database, and a Domain.

When you Add the Domain, make sure to select the Moodle 3.9 Vhost Template and the right PHP Version.


To install Moodle do the following steps:

  1. Login via SSH to the server e.g. with john-ssh and go to the users tmp directory:
cd ~/tmp
  1. Download and extract the latest Moodle 3.9 version.
curl -sL | tar xfz -
  1. Move files to the htdocs directory of the domain:
cp -R moodle/* /home/cloudpanel/htdocs/
  1. Reset permissions.
cd /home/cloudpanel/htdocs/
clpctl system:permissions:reset 775
  1. Clean up the tmp directory.
rm -rf ~/tmp/*
  1. Open your domain in the browser and go through the installation wizard.
  1. Done! Moodle 3.9 is now installed.