在centos7.0下安装xtrabackup报错:
# rpm -ivh percona-xtrabackup-24-2.4.2-1.el7.x86_64.rpm
error: Failed dependencies:
libev.so.4()(64bit) is needed by percona-xtrabackup-24-2.4.2-1.el7.x86_64perl(DBD::MysqL) is needed by percona-xtrabackup-24-2.4.2-1.el7.x86_64
解决方法:
yum -y install perl-DBD-MysqLyum -y install libev
如果没有包可在尝试配percona的yum源:
vi /etc/yum.repos.d/Percona.repo [percona] name = CentOS $releasever - Percona baseurl=http://repo.percona.com/centos/$releasever/os/$basearch/ enabled = 1 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-percona gpgcheck = 1:q