Moodle

From SME Server
Jump to navigationJump to search


Moodle for SME 7.x

Maintainer

Dungog.net (Software)

Description

http://www.moodle.org

Moodle is a course management system (CMS) A free, Open Source software package designed using sound pedagogical principles, to help educators create effective online learning communities.

Installation

Install from the dungog repo, or download moodle and smeserver-moodle from any [smedev mirror]

The following command will configure the Dungog repository on SME Server. The dungog repository will no longer be updated. All the contribs from this repository have been moved to the smecontribs repository.

DungogMember contribs are still at http://www.dungog.net After adding it to the database we have to update the changes to the configuration file:

signal-event yum-modify

To install

yum enablerepo=dungog install moodle smeserver-moodle

For uninstall

yum remove moodle smeserver-moodle

For both you can ignore the yum-comments signal event post-upgrade and signal-event reboot.

Setup

To setup moodle start your browser with the URL http://servername/moodle and complete the forms.


Important.png Note:
Apply any changes to the domain property before setting up moodle. eg moodle.yourserver.org


Options

  • To disable moodle. (default is enabled)
config setprop moodle status disabled 
  • To limit access to moodle.
config setprop moodle PublicAccess OPTION

OPTION is either of the following.

       none             => No access
       local            => Local network  (no password required)
       local-pw         => Local network  (password required)
       global           => Entire Internet(no password required)
       global-pw        => Entire Internet(password required)
       global-pw-remote => Entire Internet(password required outside local network)
  • To add a different URL eg. yourserver.net/moodle

note, this adds another url, it doesn't remove the default

config setprop moodle URL school
  • To run moodle from the root of a domain eg.

moodle.yourserver.net or
domain2.org

config setprop moodle domain moodle.yourserver.org OR
config setprop moodle domain domain2.org

In /server-manager Hostnames and Addressess setup eg. moodle as a hostname on one of you domains or
in Domains setup a new domain eg. domain2.org, moodle will overrule the panel setting

To enable your changes run these commands

expand-template /etc/httpd/conf/httpd.conf
sv h /service/httpd-e-smith 

prepared for sme7 by MasterSleepy http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=viewdownloaddetails&lid=314

yum enablerepo=dungog install smeserver-eaccelerator

Local Settings

The config file is now templated, so changes need to be made in a new fragment

ll /etc/e-smith/templates/opt/moodle/html/config.php

If you think your setting should be the SME default raise a bug

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-moodle component or use this link .

Tested software versions

  • Host: SMEserver v7.2
  • Installed: smeserver-moodle 1.0-1.el4.sme
  • Dependency Installed: moodle 1.8.1-1.el4.sme

Additional information