linux安装XtraBackup8

人生处万类,知识最为贤。这篇文章主要讲述linux安装XtraBackup8相关的知识,希望能为你提供帮助。
下载的rpm软件包安装Percona XtraBackup

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

常见错误
> rpm -ivh percona-xtrabackup-80-8.0.4-1.el7.x86_64.rpm error: Failed dependencies: libev.so.4()(64bit) is needed by percona-xtrabackup-80-8.0.4-1.el7.x86_64 perl(DBD::mysql) is needed by percona-xtrabackup-80-8.0.4-1.el7.x86_64 perl(Digest::MD5) is needed by percona-xtrabackup-80-8.0.4-1.el7.x86_64

安装libev
> yum installlibev -y

安装DBD::mysql
> yum install perl-DBD-MySQL -y

安装Digest::MD5
> yum install -y perl-Digest-MD5

继续安装XtraBackup
> rpm -ivh rpm -ivh percona-xtrabackup-80-8.0.4-1.el7.x86_64.rpm

查看XtraBackup版本
> xtrabackup --version xtrabackup: recognized server arguments: --datadir=/var/lib/mysql xtrabackup version 8.0.4 based on MySQL server 8.0.13 Linux (x86_64) (revision id: c2c0777)

卸载percona-xtrabackup
> yum remove `rpm -qa | grep percona-xtrabackup`

原文链接:https://rumenz.com/rumenbiji/linux-install-xtrabackup8.html
微信公众号:入门小站
  • 回复【1001】获取 linux常用命令速查手册
  • 回复【10010】获取 阿里云ECS运维Linux系统诊断
  • 回复【10012】获取 Linux学习笔记【强悍总结值得一看】
  • 回复【10013】获取 shell简明教程
【linux安装XtraBackup8】
linux安装XtraBackup8

文章图片


    推荐阅读