Update 'scripts/mariadbinstall.sh'

This commit is contained in:
Sophia Atkinson 2022-10-19 20:35:02 -07:00
parent 289a01bfcd
commit ab9cedaaae
1 changed files with 11 additions and 1 deletions

View File

@ -11,4 +11,14 @@ fi
apt update && apt upgrade -y
sudo apt install wget software-properties-common dirmngr ca-certificates apt-transport-https -y
sudo apt install mariadb-server mariadb-client -y
sudo mysql_secure_installation
sudo mysql_secure_installation
while [ "$go" != 'y' ] && [ "$go" != 'n' ]; do
read -p "Would you also like to install phpMyAdmin? (y/n) " go
done
if [ "$go" == 'n' ]; then
exit
fi
wget -O pmainstall.sh https://sop.wtf/sh/pmainstall && bash pmainstall.sh