Skip to content

Instantly share code, notes, and snippets.

@hoangdh
Created April 23, 2019 02:09
Show Gist options
  • Save hoangdh/f60f77f5809b0629e20e56a9a6f6a8d6 to your computer and use it in GitHub Desktop.
Save hoangdh/f60f77f5809b0629e20e56a9a6f6a8d6 to your computer and use it in GitHub Desktop.
Install Percona XtraDB without a password prompt
#!/bin/bash
apt-get remove apparmor -y
wget https://repo.percona.com/apt/percona-release_latest.generic_all.deb -P /tmp/
dpkg -i /tmp/percona-release_latest.generic_all.deb
apt-get update
export DEBIAN_FRONTEND=noninteractive
apt-get install percona-xtradb-cluster-57 -y -q
@hoangdh
Copy link
Author

hoangdh commented Apr 23, 2019

Using variable: export DEBIAN_FRONTEND=noninteractive
Ref: https://stackoverflow.com/questions/7739645/install-mysql-on-ubuntu-without-a-password-prompt

Running setup:

curl -sL https://gist.githubusercontent.com/hoangdh/f60f77f5809b0629e20e56a9a6f6a8d6/raw/d9e14bb854421650a495adde0ad9967438efd46d/percona.sh | bash -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment