Update 'Apache-Installer.sh'

This commit is contained in:
2018-09-07 12:51:25 +00:00
parent 7fcf96adb0
commit 9b38962e56

View File

@@ -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"';"