標籤:
1:在percona官網下載最新的Xtrabackup
http://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.2.10/binary/redhat/6/x86_64/Percona-XtraBackup-2.2.10-re623acb-el6-x86_64-bundle.tar
2:把tar包上傳到伺服器上
3:安裝
[[email protected] software]# rpm -ivh percona*.rpmwarning: percona-xtrabackup-2.2.10-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEYerror: Failed dependencies:perl(Time::HiRes) is needed by percona-xtrabackup-2.2.10-1.el6.x86_64
4:安裝perl
yum -y install perl perl-devel libaio libaio-devel perl-Time-HiRes perl-DBD-MySQL
5:重新執行安裝
[[email protected] software]# rpm -ivh percona*.rpmwarning: percona-xtrabackup-2.2.10-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEYPreparing... ########################################### [100%] 1:percona-xtrabackup ########################################### [ 33%] 2:percona-xtrabackup-test########################################### [ 67%] 3:percona-xtrabackup-debu########################################### [100%]
perl(Time::HiRes) is needed by percona-xtrabackup-2.2.10-1.el6.x86_64