- 在mysql主从同步时经常会用到Xtra, XtraBackup可以说是一个相对完美的免费开源数据备份工具,支持在线无锁表同步复制和可并行高效率的安全备份恢复机制相比mysqldump来说优势较大好处多,在RHEL6中安装XtraBackup时会发生缺少依赖包的现象
- 本案例针对Xtra缺少依赖包的情况进行安装分析解决
- 1.本实验环境
- [root@master ~]# uname -r
- 2.6.32-573.el6.x86_64
- [root@master ~]# cat /etc/redhat-release
- Red Hat Enterprise Linux Server release 6.7 (Santiago)
- mysql> select version();
- +------------+
- | version() |
- +------------+
- | 5.6.28-log |
- +------------+
- 1 row in set (0.00 sec)
- 2.安装Xtra
- 进入页面https://www.percona.com/downloads/XtraBackup/LATEST/下载操作系统对应的XtraBackup版本
- [root@master ~]# wget https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.3.4/binary/redhat/6/x86_64/Percona-XtraBackup-2.3.4-re80c779-el6-x86_64-bundle.tar
- --2016-05-17 12:42:14-- https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.3.4/binary/redhat/6/x86_64/Percona-XtraBackup-2.3.4-re80c779-el6-x86_64-bundle.tar
- Resolving www.percona.com... 74.121.199.234
- Connecting to www.percona.com|74.121.199.234|:443... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 27504640 (26M) [application/x-tar]
- Saving to: “Percona-XtraBackup-2.3.4-re80c779-el6-x86_64-bundle.tar”
- 100%[===============================================================================================================>] 27,504,640 2.09M/s in 16s
- 2016-05-17 12:42:32 (1.62 MB/s) - “Percona-XtraBackup-2.3.4-re80c779-el6-x86_64-bundle.tar” saved [27504640/27504640]
- 下载完成后进行解压
- [root@master ~]# tar xf Percona-XtraBackup-2.3.4-re80c779-el6-x86_64-bundle.tar
- [root@master ~]# ll
- total 53764
- -rw-------. 1 root root 2103 May 13 01:35 anaconda-ks.cfg
解决 libev.so.4()(64bit) is needed by percona-xtrabackup-2.3.4-1.el6.x86_64案例
最新推荐文章于 2021-08-15 16:56:29 发布
在RHEL6上安装Percona XtraBackup时遇到libev.so.4()(64bit)缺失的问题。通过下载并安装相应版本的libev RPM包和perl-DBD-MySQL,解决了依赖问题,成功安装XtraBackup。
摘要由CSDN通过智能技术生成