Update 'scripts/mariadbinstall.sh'
This commit is contained in:
parent
db3b4369a0
commit
a24659bbd5
|
@ -11,6 +11,18 @@ fi
|
||||||
apt update && apt upgrade -y
|
apt update && apt upgrade -y
|
||||||
sudo apt install wget software-properties-common dirmngr ca-certificates apt-transport-https -y
|
sudo apt install wget software-properties-common dirmngr ca-certificates apt-transport-https -y
|
||||||
sudo apt install mariadb-server mariadb-client -y
|
sudo apt install mariadb-server mariadb-client -y
|
||||||
|
echo -e "=================================================================="
|
||||||
|
echo "Time to Configure MariaDB."
|
||||||
|
echo "Don't Know what to do? I can help!"
|
||||||
|
echo "1. Root password just click ENTER as there is no password"
|
||||||
|
echo "2. Switch to unix_socket authentication select. n"
|
||||||
|
echo "3. Change the root password? Y"
|
||||||
|
echo "4. Remove anonymous users? Y "
|
||||||
|
echo "5. Disallow root login remotely? y, But if it's local it's fine to say no."
|
||||||
|
echo "6. Remove test database and access to it? Y"
|
||||||
|
echo "7. Reload privilege tables now? Y"
|
||||||
|
echo -e "=================================================================="
|
||||||
|
sleep 5
|
||||||
sudo mysql_secure_installation
|
sudo mysql_secure_installation
|
||||||
|
|
||||||
while [ "$go" != 'y' ] && [ "$go" != 'n' ]; do
|
while [ "$go" != 'y' ] && [ "$go" != 'n' ]; do
|
||||||
|
|
Reference in New Issue
Block a user