centos7安装xtrabackup

1、安装percona依赖库:

  yum -y install http://www.percona.com/downloads/percona-release/redhat/0.1-4/percona-release-0.1-4.noarch.rpm

       如果yum不能直接安装,可以先把rpm文件下载下来:

  wget http://www.percona.com/downloads/percona-release/redhat/0.1-4/percona-release-0.1-4.noarch.rpm

  yum -y install percona-release-0.1-4.noarch.rpm

2、测试依赖库是否安装成功(可能有点慢):

  yum list | grep percona
  看到以下内容的输出即可确认安装成功:

  centos7安装xtrabackup_第1张图片

3、安装percona,安装是如果有什么依赖,先安装即可;

   yum update percona-release 

      yum -y install percona-xtrabackup-24

4、安装完成 

  rpm -ql percona-xtrabackup-24

  centos7安装xtrabackup_第2张图片

 

5、mysql5.7.20需安装最新版XtraBackup2.4.9

 wget https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.4.9/binary/redhat/7/x86_64/Percona-XtraBackup-2.4.9-ra467167cdd4-el7-x86_64-bundle.tar

 

tar -xvf Percona-XtraBackup-2.4.9-ra467167cdd4-el7-x86_64-bundle.tar

yum -y install percona-xtrabackup-24-2.4.9-1.el7.x86_64.rpm

你可能感兴趣的:(架构)