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.
Installation via Git
Section titled “Installation via Git”Moodle 4.5.x
Section titled “Moodle 4.5.x”git clone -b patch-4.5.13.01 https://github.com/mutms/patches.git moodlecd moodlegit clone -b v4.5.13.01 https://github.com/mutms/moodle-tool_mulib.git admin/tool/mulibgit clone -b v4.5.13.01 https://github.com/mutms/moodle-tool_mutenancy.git admin/tool/mutenancyAfter cloning, continue with the standard Moodle 4.5 installation.
Moodle 5.0.x
Section titled “Moodle 5.0.x”git clone -b patch-5.0.9.01 https://github.com/mutms/patches.git moodlecd moodlegit clone -b v5.0.9.01 https://github.com/mutms/moodle-tool_mulib.git admin/tool/mulibgit clone -b v5.0.9.01 https://github.com/mutms/moodle-tool_mutenancy.git admin/tool/mutenancyAfter cloning, continue with the standard Moodle 5.0 installation.
Moodle 5.1.x
Section titled “Moodle 5.1.x”git clone -b patch-5.1.6.01 https://github.com/mutms/patches.git moodlecd moodlegit clone -b v5.0.9.01 https://github.com/mutms/moodle-tool_mulib.git public/admin/tool/mulibgit clone -b v5.1.6.01 https://github.com/mutms/moodle-tool_mutenancy.git public/admin/tool/mutenancyAfter cloning, continue with the standard Moodle 5.1 installation.
Moodle 5.2.x
Section titled “Moodle 5.2.x”git clone -b patch-5.2.2.01 https://github.com/mutms/patches.git moodlecd moodlegit clone -b v5.0.9.01 https://github.com/mutms/moodle-tool_mulib.git public/admin/tool/mulibgit clone -b v5.2.2.01 https://github.com/mutms/moodle-tool_mutenancy.git public/admin/tool/mutenancyAfter cloning, continue with the standard Moodle 5.2 installation.