Personal tools

Difference between revisions of "Install Moodle"

From hpcwiki

Jump to: navigation, search
 
Line 10: Line 10:
 
* Create moodle data base and moodleuser in postgres
 
* Create moodle data base and moodleuser in postgres
 
* Install moodle trought browser
 
* Install moodle trought browser
  Web address:         
+
    Web address:        IP_localhost/moodle
  Moodle Directory:  /var/www/moodle
+
    Moodle Directory:  /var/www/moodle
  Data Directory:    /var/moodledata
+
    Data Directory:    /var/moodledata
  Database host:      IP localhost
+
    Database host:      IP_localhost
  Database name:      moodle
+
    Database name:      moodle
  Database user:      moodleuser
+
    Database user:      moodleuser
  Database password:  ****
+
    Database password:  moodleuserpass
  Table prefix: The correct one from the table above
+
* 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

Latest revision as of 14:22, 26 July 2013

[edit] 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