CentOS6.5安装Xtrabackup

下载、安装

下载Xtrabackup

[root@centos xtrabackup]# ls
percona-xtrabackup-24-2.4.10-1.el6.x86_64.rpm
[root@centos xtrabackup]# rpm -ivh percona-xtrabackup-24-2.4.10-1.el6.x86_64.rpm 
warning: percona-xtrabackup-24-2.4.10-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
error: Failed dependencies:
    libev.so.4()(64bit) is needed by percona-xtrabackup-24-2.4.10-1.el6.x86_64
    perl(DBD::mysql) is needed by percona-xtrabackup-24-2.4.10-1.el6.x86_64

问题解决

  • 解决libev.so.4缺失问题
    下载MySQL-shared-compat包
[root@centos mysql_5.6_packages]# rpm -Uvh MySQL-shared-compat-5.6.39-1.el6.x86_64.rpm 
warning: MySQL-shared-compat-5.6.39-1.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing...                ########################################### [100%]
   1:MySQL-shared-compat    ########################################### [100%]
  • 解决perl缺失问题
[root@centos xtrabackup]# yum install perl-DBI
[root@centos mysql_5.6_packages]# yum install perl-DBD-MySQL
[root@centos mysql_5.6_packages]# yum install perl-Time-HiRes
[root@centos mysql_5.6_packages]# yum install perl-IO-Socket-SSL

你可能感兴趣的:(CentOS6.5安装Xtrabackup)