Update 'installer.sh'

This commit is contained in:
b.waal
2019-08-29 14:48:49 +02:00
parent c149513f74
commit 38b457eea9

View File

@@ -23,7 +23,6 @@ echo "Static-Vars"
domain=ict-dagbesteding.nl domain=ict-dagbesteding.nl
password=JW9t9ipdgLrWvMqHq7hX password=JW9t9ipdgLrWvMqHq7hX
email=admin@ictdagbesteding.nl email=admin@ictdagbesteding.nl
phpver=7.2 phpver=7.2
domonly=${domain} domonly=${domain}
domain=mail.${domain} domain=mail.${domain}
@@ -35,9 +34,9 @@ echo "Pre-Config"
hostnamectl set-hostname $domain hostnamectl set-hostname $domain
apt update apt update
apt install mysql-server software-properties-common wget -y
add-apt-repository universe -y add-apt-repository universe -y
add-apt-repository ppa:ondrej/php -y add-apt-repository ppa:ondrej/php -y
apt install mysql-server software-properties-common wget -y
apt upgrade -y apt upgrade -y
apt autoremove -y apt autoremove -y
mkdir -p /var/www/"$domain"/html mkdir -p /var/www/"$domain"/html