Every week, the latest Moodle code is pushed to the GIT repository. Using GIT, it's simple to update your Moodle to the latest code.
The 5 Commands
① cd /path/to/your/moodle
② sudo -u www-data php admin/cli/maintenance.php --enable
③ git pull
④ sudo -u www-data php admin/cli/upgrade.php
⑤ sudo -u www-data php admin/cli/maintenance.php --disable
Note that here I'm updating to the latest weekly build. But this will also work for minor releases (eg. 3.11.1 → 3.11.2).
Негізгі бет Update your Moodle with only 5 Commands
Пікірлер: 34