I am following the directions for installing moodle quite closely. Here is a link the the directions I am using. http://docs.moodle.org/26/en/Installing_Moodle
I have gotten fairly far in the process of installing a new moodle 2.6 installation on my server. Here is what I have done so far:
- Set up SSH
- Added IP address to firewall
- Logged in via SSH
- pulled moodle files from repository using "git clone -b MOODLE_26_STABLE git://git.moodle.org/moodle.git"
- verified that PHP was up to date (version 5.3.27)
- moved "moodle" folder into public_html
- created a database
- created the data directory.
This is where I am stuck. In the directions, it says to use the following command lines:
chown www-data /path/to/moodle cd /path/to/moodle/admin/cli sudo -u www-data /usr/bin/php install.php
chown -R root /path/to/moodle
The error message says "chown: invalid user: `www-data' "
I am sure that someone knows what the issue is.