Skip to content

Advanced Git installation

This page covers installing Multi-tenancy via Git. This is intended for administrators comfortable with the command line, Git, and web server configuration. For new sites on Moodle 5.1.x and later, the Composer seed is recommended instead.

Terminal window
git clone -b patch-4.5.13.01 https://github.com/mutms/patches.git moodle
cd moodle
git clone -b v4.5.13.01 https://github.com/mutms/moodle-tool_mulib.git admin/tool/mulib
git clone -b v4.5.13.01 https://github.com/mutms/moodle-tool_mutenancy.git admin/tool/mutenancy

After cloning, continue with the standard Moodle 4.5 installation.

Terminal window
git clone -b patch-5.0.9.01 https://github.com/mutms/patches.git moodle
cd moodle
git clone -b v5.0.9.01 https://github.com/mutms/moodle-tool_mulib.git admin/tool/mulib
git clone -b v5.0.9.01 https://github.com/mutms/moodle-tool_mutenancy.git admin/tool/mutenancy

After cloning, continue with the standard Moodle 5.0 installation.

Terminal window
git clone -b patch-5.1.6.01 https://github.com/mutms/patches.git moodle
cd moodle
git clone -b v5.0.9.01 https://github.com/mutms/moodle-tool_mulib.git public/admin/tool/mulib
git clone -b v5.1.6.01 https://github.com/mutms/moodle-tool_mutenancy.git public/admin/tool/mutenancy

After cloning, continue with the standard Moodle 5.1 installation.

Terminal window
git clone -b patch-5.2.2.01 https://github.com/mutms/patches.git moodle
cd moodle
git clone -b v5.0.9.01 https://github.com/mutms/moodle-tool_mulib.git public/admin/tool/mulib
git clone -b v5.2.2.01 https://github.com/mutms/moodle-tool_mutenancy.git public/admin/tool/mutenancy

After cloning, continue with the standard Moodle 5.2 installation.