|
|
@ -5,7 +5,7 @@ |
|
|
|
# File Created: Monday, 6th July 2020 11:05:48 am |
|
|
|
# File Created: Monday, 6th July 2020 11:05:48 am |
|
|
|
# Author: Thomas Brinkmann (doyl@dsh.icu) |
|
|
|
# Author: Thomas Brinkmann (doyl@dsh.icu) |
|
|
|
# ----- |
|
|
|
# ----- |
|
|
|
# Last Modified: Monday, 6th July 2020 8:34:54 pm |
|
|
|
# Last Modified: Monday, 6th July 2020 9:16:01 pm |
|
|
|
# Modified By: Thomas Brinkmann (doyl@dsh.icu>) |
|
|
|
# Modified By: Thomas Brinkmann (doyl@dsh.icu>) |
|
|
|
# ----- |
|
|
|
# ----- |
|
|
|
# Copyright 2020 - Thomas Brinkmann. All Rights Reserved. |
|
|
|
# Copyright 2020 - Thomas Brinkmann. All Rights Reserved. |
|
|
@ -89,13 +89,13 @@ install_Debian9(){ |
|
|
|
</IfModule> |
|
|
|
</IfModule> |
|
|
|
|
|
|
|
|
|
|
|
</Directory>" >> /etc/apache2/sites-available/nextcloud.conf |
|
|
|
</Directory>" >> /etc/apache2/sites-available/nextcloud.conf |
|
|
|
a2ensite nextcloud.conf |
|
|
|
a2ensite nextcloud.conf >/dev/null |
|
|
|
a2enmod rewrite |
|
|
|
a2enmod rewrite >/dev/null |
|
|
|
a2enmod headers |
|
|
|
a2enmod headers >/dev/null |
|
|
|
a2enmod env |
|
|
|
a2enmod env >/dev/null |
|
|
|
a2enmod dir |
|
|
|
a2enmod dir >/dev/null |
|
|
|
a2enmod mime |
|
|
|
a2enmod mime >/dev/null |
|
|
|
service apache2 restart |
|
|
|
service apache2 restart |
|
|
|
|
|
|
|
|
|
|
|
echo -e "\n\e[92mConfiguring MariaDB...\e[39m" |
|
|
|
echo -e "\n\e[92mConfiguring MariaDB...\e[39m" |
|
|
|
echo "CREATE USER '$DBUSER'@'localhost' IDENTIFIED BY '$DBPASS'; |
|
|
|
echo "CREATE USER '$DBUSER'@'localhost' IDENTIFIED BY '$DBPASS'; |
|
|
|