centos 安装 percona-xtrabackup

一、yum安装
1.安装Percona yum存储库

yum install https://repo.percona.com/yum/percona-release-latest.noarch.rpm

2.启用Percona Server 8.0存储库

percona-release setup ps57

3.输出如下则安装成功

[root@localhost ~]# percona-release setup ps80
* Disabling all Percona Repositories
* Enabling the Percona Server 8.0 repository
* Enabling the Percona Tools repository
<*> All done!

4.yum list查看安装的储存包

yum list | grep percona

5.安装percona-xtrabackup-24

yum -y install percona-xtrabackup-80.x86_64

6.如果报错缺少rpm文件,去官网下载

https://downloads.percona.com/downloads/Percona-XtraDB-Cluster-55/5.5.37-25.10/RPM/rhel6/x86_64/Percona-XtraDB-Cluster-shared-55-5.5.37-25.10.756.el6.x86_64.rpm?_gl=1*fx0zxk*_gcl_au*MTg5MTM0MTM1NS4xNjk1ODcxODQ4

安装

rpm -ivh Percona-XtraDB-Cluster-shared-55-5.5.37-25.10.756.el6.x86_64.rpm
yum -y install mysql-community-libs-compat.x86_64
yum -y --skip-broken install percona-xtrabackup-80.x86_64

7.查看是否安装成功

rpm -qa | grep -i 'percona-xtrabackup'

你可能感兴趣的:(mysql,centos,linux,运维)