Update 'NGINX-Installer.sh'

This commit is contained in:
bprieshof
2019-02-05 19:24:09 +01:00
parent af34c0fa45
commit 54af6f2c1a

View File

@@ -45,7 +45,7 @@ else
wget https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/config/nginx/nginx-default.conf -O /etc/nginx/nginx.conf wget https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/config/nginx/nginx-default.conf -O /etc/nginx/nginx.conf
fi fi
apt install -y mysql-server-5.7 apt install -y mysql-server
# mysql_secure_installation automated # mysql_secure_installation automated
mysqladmin -u root password "$password" mysqladmin -u root password "$password"
mysql -u root -p"$password" -e "DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1')" mysql -u root -p"$password" -e "DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1')"