一、Installing Percona XtraBackup from Percona yum repository

添加源

yum install http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm

检查是否添加成功

[root@mysql001 mysql]# yum list|grep  percona-xtrabackup-24.x86_64
percona-xtrabackup-24.x86_64 2.4.4-1.el6 @percona-release-x86_64

安装

yum install percona-xtrabackup-24

安装时缺少依赖包libev.so.4的处理

wget ftp://fr2.rpmfind.net/linux/dag/redhat/el6/en/x86_64/dag/RPMS/libev-4.15-1.el6.rf.x86_64.rpm
rpm -ivh libev-4.15-1.el6.rf.x86_64.rpm

二、通过RPM包安装

下载RPM包

wget https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.4.0/binary/redhat/7/x86_64/percona-xtrabackup-24-2.4.0-rc1.1.el7.x86_64.rpm

安装

yum localinstall percona-xtrabackup-24-2.4.0-rc1.1.el7.x86_64.rpm

三、卸载

yum remove percona-xtrabackup

参考:

04-13 18:39