Is this Nethserver module helpful to you?
Please consider donating to the author

Thank you kindly!

2019/03/04 06:06 · HF

Moodle 3.9.1 LTS

mrmarkuz | dev@markusneuberger.at | https://www.markusneuberger.at
Based on code of Alain Reguera Delgado AKA areguera | (alain.reguera at gmail.com)

This package provides Moodle learning platform on NethServer.

Needed repos

stephdl repo and mrmarkuz repo are required for installation/updates:

yum -y install http://mirror.de-labrusse.fr/NethServer/7/x86_64/nethserver-stephdl-1.1.1-1.ns7.sdl.noarch.rpm https://mrmarkuz.dynu.net/mirror/mrmarkuz/7/noarch/nethserver-mrmarkuz-0.0.1-4.ns7.noarch.rpm

Install Moodle module

Install nethserver-moodle testing:

yum -y --enablerepo=stephdl install https://mrmarkuz.dynu.net/mirror/devtest/nethserver-moodle-0.1.3-1.2.gd5b4449.ns7.noarch.rpm

Login

Go to https://NETHSERVER/moodle and login with username admin and password Nethesis,1234 or with an AD/LDAP user.

AD/LDAP users

AD/LDAP users are synced to Moodle in a 10 minutes interval.

If your users don't have a valid mail address in AD/LDAP, they need to register on first login.

NethServer only provides the full name of a user so the Moodle “First Name” field is filled with the full name and the “Surname” field is filled with the username. It can be easily changed in the Moodle web interface later but is needed to workaround registration.

I am searching for a better solution…

Moodle host property - change hostname

Moodle uses servername.domain.tld as hostname. This means https://servername.domain.tld/moodle.

To change it you may set the moodle host property:

config setprop moodle host <HOSTNAME>
signal-event nethserver-moodle-update

To have moodle reachable under https://domain.tld/moodle just enter these commands:

config setprop moodle host domain.tld
signal-event nethserver-moodle-update

Please raise Issues on NethServer Community