perl(Time::HiRes) is needed by percona-xtrabackup-2.2.10-1.el6.x86_64

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:安装

[root@localhost software]# rpm -ivh percona*.rpm
warning: percona-xtrabackup-2.2.10-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
error: 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:重新执行安装

[root@localhost software]# rpm -ivh percona*.rpm
warning: percona-xtrabackup-2.2.10-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
Preparing...                ########################################### [100%]
   1:percona-xtrabackup     ########################################### [ 33%]
   2:percona-xtrabackup-test########################################### [ 67%]
   3:percona-xtrabackup-debu########################################### [100%]

  

 

文章来自:http://www.cnblogs.com/xiaoit/p/4485716.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3