1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

PR16 and PR17 -- moodle/templates/install -- /etc/hosts

This commit is contained in:
George Hunt 2017-06-19 17:16:23 -07:00 committed by georgejhunt
parent 68243f1a74
commit 3f862da6a2
2 changed files with 7 additions and 7 deletions

View file

@ -1,8 +1,8 @@
#!/bin/bash -x
sudo -u {{ apache_user }} /usr/bin/php {{moodle_base}}/admin/cli/install.php \
--wwwroot=http://schoolserver.lan/moodle --dataroot={{moodle_data}} \
--dbtype=pgsql --dbname=moodle --dbuser=Admin --dbpass=changeme \
sudo -u {{ apache_user }} /usr/bin/php {{ moodle_base }}/admin/cli/install.php \
--wwwroot=http://{{ iiab_hostname }}.{{ iiab_domain }}/moodle --dataroot={{ moodle_data }} \
--dbtype=pgsql --dbname={{ moodle_database_name }} --dbuser=Admin --dbpass=changeme \
--fullname=Your_School --shortname=School \
--adminuser=admin --adminpass=changeme \
--non-interactive --agree-license
chown {{ apache_user}}:{{ apache_user }} {{ moodle_base }}/config.php
chown {{ apache_user }}:{{ apache_user }} {{ moodle_base }}/config.php