1、获取xtrabackup工具 https://www.percona.com/ 我这里安装的rpm的
2、安装
rpm -ivh percona-xtrabackup-24-2.4.6-2.el6.x86_64.rpm
依赖关系:
warning: percona-xtrabackup-24-2.4.6-2.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.6-2.el6.x86_64
libnuma.so.1()(64bit) is needed by percona-xtrabackup-24-2.4.6-2.el6.x86_64
perl(DBD::MysqL) is needed by percona-xtrabackup-24-2.4.6-2.el6.x86_64
rsync is needed by percona-xtrabackup-24-2.4.6-2.el6.x86_64
解决上述依赖关系:
1、yum install -y rsync
2、yum install -y perl-DBD-MysqL (用于Perl的MysqL的DBI的实现。DBI(database index))
3、yum install -y numactl-devel (Provides development headers for numa library calls)
注解: NUMA(Non Uniform Memory Access Architecture)非统一内存访问(NUMA)是一种用于多处理器的电脑记忆体设计,内存访问时间取决于处理器的内存位置。
4、rpm -ivh libev-4.15-1.el6.rf.x86_64.rpm 要在rpmfilnd网站下载
软件包简介:
Features include child/pid watchers,periodic timers based on wallclock
(absolute) time (in addition to timers using relative timeouts),as well as
epoll/kqueue/event ports/inotify/eventfd/signalfd support,fast timer
management,time jump detection and correction,and ease-of-use.
It can be used as a libevent replacement using its emulation API or directly
embedded into your programs without the need for complex configuration support.
5、重新安装percona-xtrabackup即可!
原文链接:https://www.f2er.com/centos/378404.html