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

Thank you kindly!

2019/03/04 12:06 · HF

Moodle (web learning)

mrmarkuz | |
Based on code of Alain Reguera Delgado AKA areguera | (alain.reguera at

This package provides Moodle 3.9.16+ LTS learning platform on NethServer.

  • AD/LDAP integration
    • users are synced every 10 minutes and with `signal-event nethserver-moodle-update`
  • Moodle Shell moosh including moosh wrapper
    • Manage moodle from command line like
      moosh --list-commands"

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

Install nethserver-moodle:

yum -y --enablerepo=stephdl,mrmarkuz install nethserver-moodle

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

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 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