Skip to content

Instantly share code, notes, and snippets.

@hollodotme
Last active October 25, 2017 11:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hollodotme/a6b5911c97ccc9accfe1 to your computer and use it in GitHub Desktop.
Save hollodotme/a6b5911c97ccc9accfe1 to your computer and use it in GitHub Desktop.
Installing Percona Server from Percona apt repository

Installing Percona Server from Percona apt repository

Fetch the repository packages from Percona web:

wget https://repo.percona.com/apt/percona-release_0.1-3.$(lsb_release -sc)_all.deb

Install the downloaded package with dpkg. To do that, run the following commands as root or with sudo:

dpkg -i percona-release_0.1-3.$(lsb_release -sc)_all.deb

Once you install this package the Percona repositories should be added. You can check the repository setup in the /etc/apt/sources.list.d/percona-release.list file.

Remember to update the local cache:

$ sudo apt-get update

After that you can install the server package:

$ sudo apt-get install percona-server-server-5.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment