1, automatic installation of Percona Yum Warehouse (the following are x86_64 and i386 platform respectively)
#rpm-IVH http://www.percona.com/downloads/percona-release/percona-release-0.0-1.x86_64.rpm
#rpm-IVH http://www.percona.com/redir/downloads/percona-release/percona-release-0.0-1.i386.rpm
2. Manual Yum Warehouse
Create a file/etc/yum.repos.d/percona.repo the following contents:
[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
#wget Http://www.percona.com/redir/downloads/percona-release/RPM-GPG-KEY-percona
#cp Rpm-gpg-key-percona/etc/pki/rpm-gpg/rpm-gpg-key-percona
Here we can install the Percona series of tools:
Our information on installing the Xtrabackup Backup tool here is as follows:
1
#yum-y Install Percona-xtrabackup
Setting up Install Process
Resolving dependencies
--> Running Transaction Check
---> Package percona-xtrabackup.x86_64 0:2.2.3-4982.el5 set to be updated
--> finished Dependency resolution
Dependencies resolved
=============================================================================================================== ================================================================================
Package arch version repository Size
=============================================================================================================== ================================================================================
Updating:
Percona-xtrabackup x86_64 2.2.3-4982.el5 Percona 5.6 M
Transaction Summary
=============================================================================================================== ================================================================================
Install 0 Package (s)
Upgrade 1 Package (s)
Total Download size:5.6 M
Downloading Packages:
percona-xtrabackup-2.2.3-4982.el5.x86_64.rpm | 5.6 MB 00:13
Warning:rpmts_HdrFromFdno:Header V4 DSA Signature:nokey, key ID cd2efd2a
percona/gpgkey | 1.7 kb 00:00
Importing GPG key 0xcd2efd2a "Percona MySQL Development team <mysql-dev@percona.com>" from/etc/pki/rpm-gpg/ Rpm-gpg-key-percona
Running Rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
updating : percona-xtrabackup 1/2
cleanup : percona-xtrabackup 2/ 2
Updated:
Percona-xtrabackup.x86_64 0:2.2.3-4982.el5
complete!