220 likes | 347 Views
Implementation of Moo d le. Systems Basics. Installation. Requires Apache/PHP DB MySQL PostgreSQL MSSQL Systems Mac Linux Windows. Databases. MySQL Open Source Big Community Support Available. Getting Moodle. Source. Download from moodle.org Checkout from CVS
E N D
Installation • Requires Apache/PHP • DB • MySQL • PostgreSQL • MSSQL • Systems • Mac • Linux • Windows
Databases • MySQL • Open Source • Big Community • Support Available
Source • Download from moodle.org • Checkout from CVS • Allows direct updates • See docs.moodle.org/en/CVS
Installation • Create DB • Place in web-directory • Create data-directory • Set permissions • Run Installer
Modules • Four main types: • Activities • Blocks • Enrollment (Enrolment) • Authentication • Find at http://moodle.org
Bugs • Try to narrow down • Search tracker.moodle.org • Patch may be available • May be in newer version • Sometime you just have to fix it yourself
Code Changes • Can be easy to make • Hard to maintain • Moodle updates become hard • Use CVS
Code Changes • Look in tracker.moodle.org • Patch Files • Contain only differences • Track Changes • Apply with command line
Patch (diff) file --- moodle/backup/restore_form.html 2008-10-20 09:43:12.000000000 -0400 +++ moodleprod/backup/restore_form.html 2008-11-04 16:11:24.000000000 -0500 @@ -74,7 +74,7 @@ } if (!isset($restore_users)) { - $restore_users = 1; + $restore_users = 2; } if (!isset($restore_groups)) {
CVS • Command line: • update –dP • In place • Shows conflicts
By Download • Download from Moodle • More complicated • Copy all modules • Apply any code modifications • If still needed • Copy config file
Server(s) • Single Server • All services on one system • Two Servers • Split DB from web-server • Many Servers • Cluster DB • Cluster web-server • VMWare
Disks • Interfaces • IDE • SATA • SCSI • Raid • Stripe (0) • Mirror (1) • Parity (5)