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

initial checkin -- May 27, 2017

This commit is contained in:
George Hunt 2017-05-27 11:09:50 -07:00
commit 845632d0ac
488 changed files with 41559 additions and 0 deletions

View file

@ -0,0 +1,12 @@
# replaces stock moodle.conf
Alias /moodle {{ moodle_base }}
# Moodle public web pages - must be publically accessible
<Directory {{ moodle_base }}>
Require all granted
</Directory>
# Moodle private data - must NOT be publically accessible
<Directory {{ moodle_data }}>
Require all denied
</Directory>

View file

@ -0,0 +1,8 @@
#!/bin/bash -x
sudo -u {{ apache_data }} /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 \
--fullname=Your_School --shortname=School \
--adminuser=admin --adminpass=changeme \
--non-interactive --agree-license
chown {{ apache_data}}:{{ apache_data }} {{ moodle_base }}/config.php