centos7.4安装Percona-XtraBackup-24

系统环境

[root@lineqi opt]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)

软件版本

Percona-XtraBackup-24
mysql5.7.29

下载地址

percona-xtrabackup
wget https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.4.4/binary/redhat/7/x86_64/percona-xtrabackup-24-2.4.4-1.el7.x86_64.rpm

安装 Percona-XtraBackup

该软件解压后直接安装即可

[root@lineqi opt]# rpm -ivh percona-xtrabackup-24-2.4.4-1.el7.x86_64.rpm

遇到问题

1、安装percona-xtrabackup-24-2.4.4-1.el7.x86_64.rpm 提示缺少lidev.so.4软件包

[root@lineqi opt]# rpm -ivhpercona-xtrabackup-24-2.4.4-1.el7.x86_64.rpm
warning: percona-xtrabackup-24-2.4.4-1.el7.x86_64.rpm : Header V4 RSA/SHA256 Signature, key ID 8507efa5: NOKEY
error: Failed dependencies:
libev.so.4()(64bit) is needed by percona-xtrabackup-24-2.4.4-1.el7.x86_64.rpm

percona的官方提示信息如下

Warning: Make sure that you have the libev package installed before installing Percona XtraBackup on CentOS6. For this operating system, the libev package is available from the EPEL repositories.

说明:在centos6安装Percona XtraBackup时,需要提前安装libev package,这里在centos7也需要,其原因是因为percona-xtrabackup依赖libev.so.4()(64bit)的包,而这个包只能从EPEL源(Extra Packages for Enterprise Linux,企业版Linux的额外软件包 是Fedora小组维护的一个软件仓库项目,为RHEL/CentOS提供他们默认不提供的软件包)安装 ,所以只要安装了这个包即可解决问题.

软件下载地址

https://pkgs.org/download/libev.so.4
[root@lineqi opt]# rpm -ivh libev-4.15-3.el7.x86_64.rpm

你可能感兴趣的:(备份,mysql)