Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Moodle
(view source)
Revision as of 14:26, 16 September 2008
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
Snoble
Administrators
2,569
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search