From 9b38962e565e93301a29e0c16319d83bb3b06110 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Fri, 7 Sep 2018 12:51:25 +0000 Subject: [PATCH] Update 'Apache-Installer.sh' --- Apache-Installer.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Apache-Installer.sh b/Apache-Installer.sh index 63f145a..2d3dc3e 100644 --- a/Apache-Installer.sh +++ b/Apache-Installer.sh @@ -14,8 +14,7 @@ # LAMP # #-------------------# -install apache2 -y -apt install mysql-server-5.7 -y +apt install apache2 mysql-server-5.7 -y 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"';"