I'm about to do my first Moodle installation on Debian (Squeeze). I still don't know if the client will want to have the Debian package installed (via apt-get install moodle), or will prefer having the latest 1.9.13 version installed.
I've already read the documentation at: http://docs.moodle.org/20/en/Debian_GNU/Linux_installation, however it seems a bit unclear about some points.
1. Would it be adviceable to install the .tgz file (as it would not be consistent with other Debian packages -mentioned on: http://docs.moodle.org/20/en/Step-by-step_Installation_Guide_for_Ubuntu)?
2. Will the Moodle installer create the database and the moodledata directory (¿where will it create it?), or is it best to create them beforehand (which is what I usually do on Windows).
3. If I were to create the moodledata directory, ¿where would it be best to locate it? The Moodle-Debian page (under the section "Installing Moodle from CVS") says to create it under /var/www, however, ¿wouldn't this put it under the web site root directory?
Any pointers about security, permissions and/or configurations would be welcome (maybe a good step-by-step guide).
Thanks beforehand.