Personal tools

Install Moodle

From hpcwiki

Revision as of 14:22, 26 July 2013 by Jvictorinog (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Install steps

  • Install tools: Apache, postgres, php5 and postgres-php5 complements
  • Configure basic step's tools
  • Download and depackage moodle-xxx.tgz in /var/www/
   sudo tar xzvf moodle-whatever.tgz -C /var/www
  • Create moodledata directory
   mkdir /var/moodledata
   chown www-data:www-data /var/moodledata
   chown www-data:www-data /var/www/moodle
  • Create moodle data base and moodleuser in postgres
  • Install moodle trought browser
   Web address:        IP_localhost/moodle
   Moodle Directory:   /var/www/moodle
   Data Directory:     /var/moodledata
   Database host:      IP_localhost
   Database name:      moodle
   Database user:      moodleuser
   Database password:  moodleuserpass
  • Follow the install steps
  • Create admin user and configure access of moodle
  • Restore Owner
   chown root /var/moodledata
   chown root:root /var/www/moodle/config.php
   chmod 664 /var/www/moodle/config.php