|
|
@ -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 9:16:01 pm |
|
|
|
# Last Modified: Monday, 6th July 2020 9:21:18 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. |
|
|
@ -134,6 +134,13 @@ install_Debian9(){ |
|
|
|
echo -e "\n\e[92mLogin details written to \e[93m/home/Nextclound-Login-Details-README.txt \e[39m" |
|
|
|
echo -e "\n\e[92mLogin details written to \e[93m/home/Nextclound-Login-Details-README.txt \e[39m" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
clean_up(){ |
|
|
|
|
|
|
|
echo -e "\n\e[92mCleaning... \e[39m" |
|
|
|
|
|
|
|
rm -R /home/nextcloud |
|
|
|
|
|
|
|
rm /home/apt.gpg |
|
|
|
|
|
|
|
rm /home/nextcloud-$LATEST_STABLE_RELEASE.zip |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# CentOS vHOST |
|
|
|
# CentOS vHOST |
|
|
|
# DocumentRoot /var/www/nextcloud/ |
|
|
|
# DocumentRoot /var/www/nextcloud/ |
|
|
|
# ServerName your.server.com |
|
|
|
# ServerName your.server.com |
|
|
@ -183,11 +190,13 @@ if [ "$VAR_A" = "x86_64" ]; then |
|
|
|
#Debian 10 |
|
|
|
#Debian 10 |
|
|
|
echo -e "\nDebian $version\e[39m" |
|
|
|
echo -e "\nDebian $version\e[39m" |
|
|
|
install_Debian9 # Currently it also works for Debian 10 |
|
|
|
install_Debian9 # Currently it also works for Debian 10 |
|
|
|
|
|
|
|
clean_up |
|
|
|
|
|
|
|
|
|
|
|
elif [ $version -eq 9 ]; then |
|
|
|
elif [ $version -eq 9 ]; then |
|
|
|
#Debian 9 Check |
|
|
|
#Debian 9 Check |
|
|
|
echo -e "\nDebian $version\e[39m" |
|
|
|
echo -e "\nDebian $version\e[39m" |
|
|
|
install_Debian9 |
|
|
|
install_Debian9 |
|
|
|
|
|
|
|
clean_up |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|