Answer the question
In order to leave comments, you need to log in
How to silently install MySQL without password confirmation in Ubuntu 14.04?
Hello!
I'm struggling with the crazy idea of making an installer script for different VPS in order to quickly deploy my working environment for Ubuntu Server 14.04.
There is a bash script in which various settings like this are registered:
apt-get install nginx -y --force-yes -qq > /dev/null 2>&1
apt-get install percona-server-server-5.7
MYSQL_ROOT_PASSWORD=supersecretpass
echo "percona-server-server-5.5 percona-server-server/root_password_again password $MYSQL_ROOT_PASSWORD" | debconf-set-selections > /dev/null 2>&1
echo "percona-server-server-5.5 percona-server-server/root_password password $MYSQL_ROOT_PASSWORD" | debconf-set-selections > /dev/null 2>&1
apt-get install percona-server-server-5.5 -y -qq > /dev/null 2>&1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question