Install Moodle on NS7

Yes, it does work but not with the NS virtualhost module…for now.

I had some problems with PHP7 and nethserver-mail2 but I reinstalled now and it seems to work:

  • I installed PHP70 instead of 7.1 as it’s enough for moodle → yum -y install nethserver-mysql nethserver-php-scl php70-php-opcache php70-php-xmlrpc php70-php-intl
  • I used usr/share/moodle as webroot and /var/lib/nethserver/moodledata as data directory just to force better backup integration by having important files in /var/lib/nethserver
  • Following /etc/httpd.conf/moodle.conf is used:
Alias /moodle /usr/share/moodle/
<Directory /usr/share/moodle/>
    Require all granted
</Directory>