1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00

Update moodle_installer

This commit is contained in:
A Holt 2018-04-30 19:33:24 -04:00 committed by GitHub
parent f264b60172
commit 638eedd376
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,10 @@
#!/bin/bash -x
# May 2018: lowercase "--adminuser=admin" is still required for some odd
# reason, otherwise one cannot login to http://box.lan/moodle
# (with Admin/changeme). At the same time --dbuser=Admin still begins with
# a capital letter, in keeping with Internet-in-a-Box's other server apps.
sudo -u {{ apache_user }} \
/usr/bin/php {{ moodle_base }}/admin/cli/install.php \
--wwwroot=http://{{ iiab_hostname }}.{{ iiab_domain }}/moodle \
@ -9,7 +14,7 @@ sudo -u {{ apache_user }} \
--dbuser=Admin --dbpass=changeme \
--fullname=Your_School \
--shortname=School \
--adminuser=admin --adminpass=changeme \ # May 2018: lowercase "admin" is still required, otherwise Admin/changeme fails at http://box.lan/moodle
--adminuser=admin --adminpass=changeme \
--non-interactive \
--agree-license \
--allow-unstable # TEMPORARY DURING MAY 2018 TESTING