January 4, 2021
Estimated Post Reading Time ~

Moodle 3.2 Installation on Ubuntu


Step -1: Change the directory and clone the moodle repo
$ cd /opt
$ sudo git clone git://git.moodle.org/moodle.git

Step -2: Check all the available branches and select the latest stable branch
$ cd moodle
$ sudo git branch -a
$ sudo git branch --track MOODLE_32_STABLE origin/MOODLE_32_STABLE
$ sudo git checkout MOODLE_32_STABLE

Step -3: Copy the stable branch to working directory
sudo cp -R /opt/moodle /var/www/html/

Step -4: Create a moodle data directory and add permissions
$ sudo mkdir /var/moodledata
$ sudo chown -R shashi:shashi /var/moodledata
$ sudo chmod -R 777 /var/moodledata

Step -5: Change permissions on moodle directory
sudo chmod -R 0755 /var/www/html/moodle
sudo chmod -R 777 /var/www/html/moodle


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.