+1-208-473-2904 (USA - Sales)
0-800-051-8984 (UK - Sales)
0-800-181-0665 (GER - Sales)
+1-925-271-5054 (Training)
The Percona yum repository supports popular RPM-based operating systems, including the Amazon Linux AMI.
The easiest way to install the Percona Yum repository is to install an RPM that configures yum and installs the Percona GPG key. You can also do the installation manually.
Execute the following command as a root user, replacing x86_64 with i386 if you are not running a 64-bit operating system:
$ rpm -Uhv http://www.percona.com/downloads/percona-release/percona-release-0.0-1.x86_64.rpm
You should see some output such as the following:
Retrieving http://www.percona.com/downloads/percona-release/percona-release-0.0-1.x86_64.rpm
Preparing... ########################################### [100%]
1:percona-release ########################################### [100%]
The RPMs for the automatic installation are available at http://www.percona.com/downloads/percona-release/ and include source code.
To install the repository manually, place the following into a new file named /etc/yum.repos.d/Percona.repo:
[percona]
name = CentOS $releasever - Percona
baseurl=http://repo.percona.com/centos/$releasever/os/$basearch/
enabled = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-percona
gpgcheck = 1
Also, copy the Percona GPG key into a file named /etc/pki/rpm-gpg/RPM-GPG-KEY-percona.
Make sure packages are downloaded from the repository, by executing the following command as root:
yum list | grep percona
You should see output similar to the following:
percona-release.x86_64 0.0-1 installed
...
Percona-Server-client-51.x86_64 5.1.47-rel11.1.51.rhel5 percona
Percona-Server-devel-51.x86_64 5.1.47-rel11.1.51.rhel5 percona
Percona-Server-server-51.x86_64 5.1.47-rel11.1.51.rhel5 percona
Percona-Server-shared-51.x86_64 5.1.47-rel11.1.51.rhel5 percona
Percona-Server-test-51.x86_64 5.1.47-rel11.1.51.rhel5 percona
...
xtrabackup.x86_64 1.2-22.rhel5 percona
- x86_64
- i386
The CentOS repositories should work well with Red Hat Enterprise Linux too, provided that yum is installed on the server.
To subscribe to the release candidate repository, install the release candidate (RC) RPM:
rpm -Uhv http://www.percona.com/downloads/percona-release/percona-rc-0.0-2.x86_64.rpm