源码安装遇到问题,只能转yum安装了。
从https://www.percona.com/doc/percona-xtrabackup/LATEST/installation/yum_repo.html获取到帮助
yum install http://www.percona.com/downloads/percona-release/redhat/0.1-4/percona-release-0.1-4.noarch.rpm
安装依赖的libev,如果是linux的其它版本,需要到http://rpmfind.net/linux/rpm2html/search.php?query=libev.so.4()(64bit)自行下载其它版本,CentOS6.7版本如下
ftp://rpmfind.net/linux/dag/redhat/el6/en/x86_64/dag/RPMS/libev-4.15-1.el6.rf.x86_64.rpm
yum install percona-xtrabackup-24
yum install -y boost boost-devel
cmake -DCMAKE_INSTALL_PREFIX=/mysql/server/xtrabackup