'NGINX-Installer.sh' updaten
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
#-------------------#
|
||||
|
||||
apt install nginx mysql-server-5.7 -y
|
||||
ufw allow 'Nginx HTTP'
|
||||
mysql_secure_installation
|
||||
mysql -u root -p"$passwd" -e "SELECT user,authentication_string,plugin,host FROM mysql.user;"
|
||||
mysql -u root -p"$passwd" -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '"$passwd"';"
|
||||
|
||||
Reference in New Issue
Block a user