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:
parent
f264b60172
commit
638eedd376
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue