Percona MySQL quick setup

Written by Peter Davies on .

Get the additional keys so that your server will trust the percona repo:

gpg --keyserver hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
gpg -a --export CD2EFD2A | apt-key add -

Add this to /etc/apt/sources.list, replacing VERSION with the name of your distribution:

nano /etc/apt/sources.list

Add the following:

deb http://repo.percona.com/apt squeeze main
deb-src http://repo.percona.com/apt squeeze main

Remember to update the local cache:

apt-get update

After that you can install the server and client packages:

apt-get install percona-server-server-5.5 percona-server-client-5.5