In order to install mysql-server I do this:
But, the installation process pops up a blue dialog asking for a root password.Code:sudo apt-get install -y mysql-server
I need to completely automate the installation of mysql-server.
This post on the Forum Archives has a solution, but it didn't work:
http://ubuntuforums.org/archive/index.php/t-677482.html
It was a good start, though. Here is what I needed to do in order to prevent the prompt from happening:
I put those lines in my setup script and then the mysql-server installation doesn't prompt for a root password.Code:echo "mysql-server mysql-server/root_password select (password omitted)" | debconf-set-selections echo "mysql-server mysql-server/root_password_again select (password omitted)" | debconf-set-selections



Adv Reply

Bookmarks