Centos 6.8 安装Percona Xtrabackup

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Centos 6.8 安装Percona Xtrabackup相关的知识,希望对你有一定的参考价值。

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即可!

    

本文出自 “Linux Oracle MariaDB” 博客,请务必保留此出处http://wangergui.blog.51cto.com/8504247/1905978

以上是关于Centos 6.8 安装Percona Xtrabackup的主要内容,如果未能解决你的问题,请参考以下文章

PXC安装文档

CentOS 6.8 下安装mysql-5.6

linux安装XtraBackup8

最新XtraBackup安装

解决 libev.so.4()(64bit) is needed by percona-xtrabackup-2.3.4-1.el6.x86_64案例

CentOS-6.8-x64的安装