1:在percona官网下载最新的Xtrabackup
2:把tar包上传到服务器上
3:安装
[[email protected] 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:重新执行安装
[[email protected] 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%]
时间: 2024-10-10 07:39:57