带你centos安装innobackupex、xtrabackup
作者:互联网
方式一:
yum安装
1、配置yum源
备份原来的epel源
mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.backup
配置阿里云epel源.
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
2、安装
yum -y install percona-xtrabackup
方式二:
rpm包安装
1、官网下载rpm包安装
https://www.percona.com/downloads/Percona-XtraBackup-2.4/
wget https://downloads.percona.com/downloads/Percona-XtraBackup-2.4/Percona-XtraBackup-2.4.21/binary/redhat/7/x86_64/percona-xtrabackup-24-2.4.21-1.el7.x86_64.rpm
下载慢的,访问我的百度云链接
链接:https://pan.baidu.com/s/1jqN-3JWKzku2BWHgW_eGOA
提取码:9fcr
安装依赖包
yum -y install perl perl-devel libaio libaio-devel perl-Time-HiRes perl-DBD-MySQL
2、安装
rpm -ivh percona-xtrabackup-24-2.4.21-1.el7.x86_64.rpm --nodeps --force
或者
yum -y localinstall percona-xtrabackup-24-2.4.21-1.el7.x86_64.rpm
方式三:
二进制包安装
1、下载安装包(二进制包)
https://www.percona.com/downloads/Percona-XtraBackup-2.4/Percona-XtraBackup-2.4.21/binary/redhat/7/
wget https://downloads.percona.com/downloads/Percona-XtraBackup-2.4/Percona-XtraBackup-2.4.21/binary/tarball/percona-xtrabackup-2.4.21-Linux-x86_64.glibc2.12.tar.gz
下载慢的,看我百度云链接下载
链接:https://pan.baidu.com/s/1SA6WVObQms3stlmpZvN0Fg
提取码:0ptk
2、安装xtrabackup
tar -xf percona-xtrabackup-2.4.21-Linux-x86_64.glibc2.12.tar.gz
cd percona-xtrabackup-2.4.21-Linux-x86_64.glibc2.12
cp bin/innobackupex /usr/bin/
cp bin/xtrabackup /usr/bin/
标签:21,centos,xtrabackup,yum,innobackupex,64,percona,2.4 来源: https://blog.csdn.net/qq_41788609/article/details/110481330