Difference between revisions of "User:Ranjithraj/installers/moodle"
Jump to navigation
Jump to search
Ranjithraj (talk | contribs) m (→Possible errors: Categorized possible errors into 2) |
Ranjithraj (talk | contribs) m (→Possible errors: Created a category for server requirements) |
||
Line 7: | Line 7: | ||
composer update --with-all-dependencies | composer update --with-all-dependencies | ||
== | == Server requirements == | ||
=== Environment Setup === | === Environment Setup === | ||
# PHP Dependencies | # PHP Dependencies | ||
Line 19: | Line 19: | ||
chmod 0777 /var/www/ | chmod 0777 /var/www/ | ||
and then reset it to 755 | and then reset it to 755 | ||
== Possible errors == |
Revision as of 16:40, 2 June 2021
Install via Composer
- Create a project
sudo composer create-project moodle/moodle:^'version.number' moodle-demo
- Once installed, go to moodle root directory
composer update --with-all-dependencies
Server requirements
Environment Setup
- PHP Dependencies
sudo apt install php-zip php-intl
Permissions
- 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