Update 'NGINX-Installer.sh'
This commit is contained in:
@@ -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
|
||||
fi
|
||||
|
||||
apt install -y mysql-server-5.7
|
||||
apt install -y mysql-server
|
||||
# mysql_secure_installation automated
|
||||
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')"
|
||||
|
||||
Reference in New Issue
Block a user