Hi, after a crash course in Moodle, Git, SSH, etc., I am attempting to install Moodle 2.5 on a Media Temple dedicated virtual server. The server is running CentOS 6 (For practice, I first successfully installed 2.5 on my local laptop using the video tutorial on this page: http://docs.moodle.org/24/en/Windows_installation_using_Git).
However, I am hitting a snag in installing 2.5 on the server. I'm following these instructions: http://docs.moodle.org/25/en/Installing_Moodle. I can get to the following lines, at which the server won't accept the "+a" command, displaying this error: "chmod: invalid mode: `+a'"
"If your server supports ACL it is recommended to set following permissions, for example if your Apache server uses account www-data:
# chmod -R +a "www-data allow read,delete,write,append,file_inherit,directory_inherit" /path/to/moodledata
If you are planning to execute PHP scripts from the command line you should set the same permissions for the current user:
$ sudo chmod -R +a "`whoami` allow read,delete,write,append,file_inherit,directory_inherit" /path/to/moodledata"
I tried move past this point, and I can execute these commands:
# chown www-data /path/to/moodle # cd /path/to/moodle/admin/cli # sudo -u www-data /usr/bin/php install.php
I am then prompted to choose a language, data directory, and web address, but them I'm warned:
"PHP Warning: mkdir(): Permission denied in /var/www/vhosts/iheonlinecourses.org/httpdocs/moodle/lib/installlib.php on line 98"
I imagine this is because I was not able to set the "+a" permissions above.
Can anybody help me out so I can successfully complete the installation?
Thank you.