Changes

From SME Server
Jump to navigationJump to search
412 bytes added ,  14:26, 16 September 2008
initial setup, now preserves config.php
Line 16: Line 16:     
====Setup====
 
====Setup====
To setup moodle start your browser with the URL ''http://servername/moodle'' and complete the forms.
+
Edit /opt/moodle/html/config.php the first time you install to set mysql details, domain name and moodle paths.
 +
 
 +
cd /opt/moodle/html
 +
cp config-dist.php config.php
 +
nano -w config.php
 +
 
 +
// 1. DATABASE SETUP
 +
$CFG->dbuser    = 'moodle';            // your database username is moodle
 +
$CFG->dbpass    = '439321584876185';    // find your database password with 'config show moodle'
 +
 +
// 2. WEB SITE LOCATION
 +
$CFG->wwwroot  = 'http://YOURDOMAIN.COM/moodle';
 +
 +
// 3. SERVER FILES LOCATION
 +
$CFG->dirroot  = '/opt/moodle/html';
 +
 +
// 4. DATA FILES LOCATION
 +
$CFG->dataroot = '/opt/moodle/moodledata';
 +
 
 +
 
 +
To setup moodle start your browser with the URL ''http://YOURDOMAIN.COM/moodle'' and complete the forms.
   −
* Choose and set the URL moodle will be accessed with.
  −
Apply any changes to the URL property '''before setting up moodle'''. refer to options below <br>eg. config setprop moodle URL lesson
      
====Update====
 
====Update====
DRAFT
  −
   
Review http://docs.moodle.org/en/Upgrading
 
Review http://docs.moodle.org/en/Upgrading
  

Navigation menu