• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 468
  • Last Modified:

apt-get install mysql-server w/o the GUI setup?

Just curious if there is a way to install mysql-server with apt without doing the GUI setup.  Can you pass flags for the root password?  I have this running in a script to set up a server and the gui is causing it to halt
0
mynamebecory2
Asked:
mynamebecory2
1 Solution
 
mynamebecory2Author Commented:
Figured it out:
export DEBIAN_FRONTEND=noninteractive
apt-get install mysql
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now