Difference between revisions of "Moodle"

From SME Server
Jump to navigationJump to search
m
 
(7 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
===Maintainer===
 
===Maintainer===
 
[http://www.dungog.net Dungog.net] (Software)
 
[http://www.dungog.net Dungog.net] (Software)
 +
 +
=== Version ===
 +
{{#smeversion: smeserver-{{lc:{{FULLPAGENAME}}}} }}
  
 
===Description===
 
===Description===
Line 16: Line 19:
  
 
====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.
 +
 
 +
 
 +
====Update====
 +
Review http://docs.moodle.org/en/Upgrading
 +
 
 +
yum update moodle --enablerepo=smecontribs
  
* Choose and set the URL moodle will be accessed with.
+
Visit your moodle site to trigger the upgrade and complete the install
Apply any changes to the URL property '''before setting up moodle'''. refer to options below <br>eg. config setprop moodle URL lesson
 
  
 
====Usage====
 
====Usage====
Line 41: Line 69:
 
* Students
 
* Students
 
The default is for students to create their own account and join courses themselves.
 
The default is for students to create their own account and join courses themselves.
 +
 +
=== Uninstallation ===
 +
To remove this package issue the following command on the SME Server shell:
 +
rpm -e moodle smeserver-moodle
 +
 +
To remove mysql database and user, both are moodle, see [[MySQL#Remove a database]] and [[MySQL#Remove a user]]. There is no need to reboot.
  
 
=== Options ===
 
=== Options ===
* You can fine tune access to moodle with DB settings.
+
* You can fine tune access to moodle with DB settings.  
 
http://wiki.contribs.org/Web_Application_RPM#New_DB_settings
 
  
* Local Settings
+
For details have a look at [[Web Application RPM#New DB 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
 
  
10config-dist is the unmodified moodle config file with overrides in 20db
+
To see the current DB settings for Moodle do
 +
config show moodle
  
put site specific overrides in 25local, and enable with
+
To allow "normal" public access to Moodle do the following
  expand-template /opt/moodle/html/config.php
+
config setprop moodle PublicAccess global
 +
  expand-template /etc/httpd/conf/httpd.conf
 +
sv h /service/httpd-e-smith
  
 +
=== Bugs ===
 +
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-moodle component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-moodle|title=this link}}.
  
If you think your setting should be the default raise a bug
+
{{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |disablecache=1 |component=smeserver-moodle |noresultsmessage="No open bugs found."}}
  
=== Uninstall ===
 
rpm -e moodle smeserver-moodle
 
  
To remove mysql database and user, both are moodle, see
+
==Changelog==
http://wiki.contribs.org/MySQL#Remove_a_database_and_user
 
  
=== Bugs ===
+
Only released version in smecontrib are listed here.
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-moodle component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-moodle|title=this link}}.
 
  
 +
{{ #smechangelog: smeserver-moodle }}
  
 
[[Category: Contrib]]
 
[[Category: Contrib]]
 
[[Category: CMS]]
 
[[Category: CMS]]
 
[[Category: Dungog]]
 
[[Category: Dungog]]
 +
[[Category: Webapps]]

Latest revision as of 21:26, 17 April 2021


Maintainer

Dungog.net (Software)

Version

smeserver-moodle
The latest version of smeserver-moodle is available in the SME repository, click on the version number(s) for more information.


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

This contrib can be found in the smecontribs repository.

yum --enablerepo=smecontribs install moodle smeserver-moodle

No need to reboot.

Setup

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.


Update

Review http://docs.moodle.org/en/Upgrading

yum update moodle --enablerepo=smecontribs

Visit your moodle site to trigger the upgrade and complete the install

Usage

Begin with reading the Moodle book

  • Authentication

Email based self registration is the default method.

To authenticate SME users against moodle, configure moodle to use POP3.

With regular POP3, port 110, 127.0.0.1 in Moodle and "allow private" in SME server-manager > Email.

Also seems to work with POP3cert port 995 in Moodle and "allow private and public" in SME server manager > Email.

  • Privileged Users

Assign new moodle system administrators, course creators and teachers.

  • Courses

Add course categories before adding courses. Then assign a teacher to a course.

  • Students

The default is for students to create their own account and join courses themselves.

Uninstallation

To remove this package issue the following command on the SME Server shell:

rpm -e moodle smeserver-moodle

To remove mysql database and user, both are moodle, see MySQL#Remove a database and MySQL#Remove a user. There is no need to reboot.

Options

  • You can fine tune access to moodle with DB settings.

For details have a look at Web Application RPM#New DB settings.

To see the current DB settings for Moodle do

config show moodle

To allow "normal" public access to Moodle do the following

config setprop moodle PublicAccess global
expand-template /etc/httpd/conf/httpd.conf
sv h /service/httpd-e-smith

Bugs

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

"No open bugs found."


Changelog

Only released version in smecontrib are listed here.