Difference between revisions of "User:Ranjithraj/installers/moodle"
Jump to navigation
Jump to search
Ranjithraj (talk | contribs) m |
Ranjithraj (talk | contribs) m (→Install via Composer: Removed sudo) |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
* Create a project | * Create a project | ||
composer create-project moodle/moodle:^'version.number' moodle-demo | |||
* Once installed, go to moodle root directory | * Once installed, go to moodle root directory | ||
Line 10: | Line 10: | ||
=== Environment Setup === | === Environment Setup === | ||
# PHP Dependencies | # PHP Dependencies | ||
sudo apt install php-zip php-intl | sudo apt install php-zip php-intl php-curl | ||
=== Permissions === | === Permissions === | ||
Latest revision as of 12:39, 17 June 2021
Install via Composer[edit]
- Create a project
composer create-project moodle/moodle:^'version.number' moodle-demo
- Once installed, go to moodle root directory
composer update --with-all-dependencies
Server requirements[edit]
Environment Setup[edit]
- PHP Dependencies
sudo apt install php-zip php-intl php-curl
Permissions[edit]
Possible errors[edit]
- Parent directory (/var/www) is not writeable. Data directory (/var/www/moodledata) cannot be created by the installer
- Manually create 'moodledata' folder
mkdir /var/www/moodledata chmod 0777 /var/www/moodledata
- Give write permission to '/var/www' folder temporarily
chmod 0777 /var/www/ and then reset it to 755