Created
April 23, 2019 02:09
-
-
Save hoangdh/f60f77f5809b0629e20e56a9a6f6a8d6 to your computer and use it in GitHub Desktop.
Install Percona XtraDB without a password prompt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using variable:
export DEBIAN_FRONTEND=noninteractive
Ref: https://stackoverflow.com/questions/7739645/install-mysql-on-ubuntu-without-a-password-prompt
Running setup: