Moodle - Install moodle 3.2 in Ubuntu 16.04
in this video i will show you how to install moodle in ubuntu 16.04 (php5.6 and mysql).
steps :
1) download moodle
2) extract and move folder to html/moodle
3) open http://localhost/moodle
4) select, lang english .. next
5) confirm paths .. next
when i click next, it showing error like this :
parent directory (/var/www) is not writable. Data directory (/var/www/moodledata) cannot be created by the installer.
that problem caused by, your /var/www folder not 777. so run this script: sudo chmod 777 /var/www
6) In "Configuration Completed" page, will showing again other error like this :
moodle made an attempt to save your configuration in a file in the root of your moodle installation.
that problem caused by, your /var/www/html/moodle not 777, so run this script: sudo chmod -R 777 /var/www/html/moodle
7) next page, "Installation server check", it will showing some problem again.. your extension not be installed. in this example, i have no extension zip. So, you must install that extension by running a script in terminal with : sudo apt-get install php5.6-zip
8) click continue / next until you finish the installation.
enjoy.