Skip to content

Instantly share code, notes, and snippets.

@hhirsch
Last active January 26, 2018 14:51
Show Gist options
  • Save hhirsch/47957a87a367387ff1866bd4257e0bcc to your computer and use it in GitHub Desktop.
Save hhirsch/47957a87a367387ff1866bd4257e0bcc to your computer and use it in GitHub Desktop.
export DEBIAN_FRONTEND=noninteractive
debconf-set-selections <<< 'mariadb-server-10.0 mysql-server/root_password password root'
debconf-set-selections <<< 'mariadb-server-10.0 mysql-server/root_password_again password root'
debconf-set-selections <<< 'mariadb-server-10.0 mariadb-server/root_password password root'
debconf-set-selections <<< 'mariadb-server-10.0 mariadb-server/root_password_again password root'
debconf-set-selections <<< 'mariadb-server mysql-server/root_password password root'
debconf-set-selections <<< 'mariadb-server mysql-server/root_password_again password root'
debconf-set-selections <<< 'mysql-server mysql-server/root_password password root'
debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root'
apt-get install -y mariadb-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment