标签:download cache tool mys 验证 gre pre pod arc
采用yum安装xtrabackup
[root@localhost xtarback]# wget https://www.percona.com/redir/downloads/percona-release/redhat/latest/percona-release-0.1-4.noarch.rpm
--2017-02-23 10:34:16-- https://www.percona.com/redir/downloads/percona-release/redhat/latest/percona-release-0.1-4.noarch.rpm
正在解析主机 www.percona.com (www.percona.com)... 74.121.199.234
正在连接 www.percona.com (www.percona.com)|74.121.199.234|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:6555 (6.4K) [application/x-redhat-package-manager]
正在保存至: “percona-release-0.1-4.noarch.rpm”
100%[==================================================================================================================================>] 6,555 --.-K/s 用时 0s
2017-02-23 10:34:18 (47.3 MB/s) - 已保存 “percona-release-0.1-4.noarch.rpm” [6555/6555])
[root@localhost xtarback]# rpm -ivh percona-release-0.1-4.noarch.rpm
准备中... ################################# [100%]
软件包 percona-release-0.1-4.noarch 已经安装
[root@localhost xtarback]# yum list | grep percona-xt
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
percona-xtrabackup.x86_64 2.3.6-1.el7 percona-release-x86_64
percona-xtrabackup-22.x86_64 2.2.13-1.el7 percona-release-x86_64
percona-xtrabackup-22-debuginfo.x86_64 2.2.13-1.el7 percona-release-x86_64
percona-xtrabackup-24.x86_64 2.4.5-1.el7 percona-release-x86_64
percona-xtrabackup-24-debuginfo.x86_64 2.4.5-1.el7 percona-release-x86_64
percona-xtrabackup-debuginfo.x86_64 2.3.6-1.el7 percona-release-x86_64
percona-xtrabackup-test.x86_64 2.3.6-1.el7 percona-release-x86_64
percona-xtrabackup-test-22.x86_64 2.2.13-1.el7 percona-release-x86_64
percona-xtrabackup-test-24.x86_64 2.4.5-1.el7 percona-release-x86_64
[root@localhost xtarback]# ^C
[root@localhost xtarback]# ^C
[root@localhost xtarback]#
Install the package(yum安装)
[root@localhost xtarback]# yum install percona-xtrabackup-24
已加载插件:fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
base | 3.6 kB 00:00:00
dockerrepo | 2.9 kB 00:00:00
extras | 3.4 kB 00:00:00
mysql-connectors-community | 2.5 kB 00:00:00
mysql-tools-community | 2.5 kB 00:00:00
mysql56-community | 2.5 kB 00:00:00
percona-release-noarch | 2.4 kB 00:00:00
percona-release-x86_64 | 2.5 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/5): extras/7/x86_64/primary_db | 121 kB 00:00:00
(2/5): updates/7/x86_64/primary_db | 2.3 MB 00:00:01
(3/5): dockerrepo/primary_db | 29 kB 00:00:01
(4/5): mysql-tools-community/x86_64/primary_db | 32 kB 00:00:03
(5/5): percona-release-x86_64/7/x86_64/primary_db | 449 kB 00:00:06
Loading mirror speeds from cached hostfile
* base: mirrors.cn99.com
* extras: mirrors.cn99.com
* updates: mirrors.cn99.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 percona-xtrabackup-24.x86_64.0.2.4.6-1.el7 将被 安装
--> 正在处理依赖关系 perl(DBD::mysql),它被软件包 percona-xtrabackup-24-2.4.6-1.el7.x86_64 需要
--> 正在处理依赖关系 perl-Digest-MD5,它被软件包 percona-xtrabackup-24-2.4.6-1.el7.x86_64 需要
--> 正在处理依赖关系 libev.so.4()(64bit),它被软件包 percona-xtrabackup-24-2.4.6-1.el7.x86_64 需要
--> 正在检查事务
---> 软件包 libev.x86_64.0.4.15-6.el7 将被 安装
---> 软件包 perl-DBD-MySQL.x86_64.0.4.023-5.el7 将被 安装
---> 软件包 perl-Digest-MD5.x86_64.0.2.52-3.el7 将被 安装
--> 正在处理依赖关系 perl(Digest::base) >= 1.00,它被软件包 perl-Digest-MD5-2.52-3.el7.x86_64 需要
--> 正在检查事务
---> 软件包 perl-Digest.noarch.0.1.17-245.el7 将被 安装
--> 解决依赖关系完成
依赖关系解决
============================================================================================================================================================================
Package 架构 版本 源 大小
============================================================================================================================================================================
正在安装:
percona-xtrabackup-24 x86_64 2.4.6-1.el7 percona-release-x86_64 7.3 M
为依赖而安装:
libev x86_64 4.15-6.el7 extras 44 k
perl-DBD-MySQL x86_64 4.023-5.el7 base 140 k
perl-Digest noarch 1.17-245.el7 base 23 k
perl-Digest-MD5 x86_64 2.52-3.el7 base 30 k
事务概要
============================================================================================================================================================================
安装 1 软件包 (+4 依赖软件包)
总下载量:7.5 M
安装大小:31 M
Is this ok [y/d/N]: y
Downloading packages:
(1/5): libev-4.15-6.el7.x86_64.rpm | 44 kB 00:00:00
(2/5): perl-Digest-1.17-245.el7.noarch.rpm | 23 kB 00:00:00
(3/5): perl-Digest-MD5-2.52-3.el7.x86_64.rpm | 30 kB 00:00:00
(4/5): perl-DBD-MySQL-4.023-5.el7.x86_64.rpm | 140 kB 00:00:00
(5/5): percona-xtrabackup-24-2.4.6-1.el7.x86_64.rpm | 7.3 MB 00:01:37
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
总计 79 kB/s | 7.5 MB 00:01:37
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : libev-4.15-6.el7.x86_64 1/5
正在安装 : perl-DBD-MySQL-4.023-5.el7.x86_64 2/5
正在安装 : perl-Digest-1.17-245.el7.noarch 3/5
正在安装 : perl-Digest-MD5-2.52-3.el7.x86_64 4/5
正在安装 : percona-xtrabackup-24-2.4.6-1.el7.x86_64 5/5
验证中 : perl-Digest-1.17-245.el7.noarch 1/5
验证中 : percona-xtrabackup-24-2.4.6-1.el7.x86_64 2/5
验证中 : perl-Digest-MD5-2.52-3.el7.x86_64 3/5
验证中 : perl-DBD-MySQL-4.023-5.el7.x86_64 4/5
验证中 : libev-4.15-6.el7.x86_64 5/5
已安装:
percona-xtrabackup-24.x86_64 0:2.4.6-1.el7
作为依赖被安装:
libev.x86_64 0:4.15-6.el7 perl-DBD-MySQL.x86_64 0:4.023-5.el7 perl-Digest.noarch 0:1.17-245.el7 perl-Digest-MD5.x86_64 0:2.52-3.el7
完毕!
[root@localhost xtarback]#
Uninstalling Percona XtraBackup(卸载)
yum remove percona-xtrabackup
这样就安装好了,xtrabackup。
下面安装qpress压缩工具.
yum install percona-xtrabackup-24 qpress -y
查看是否ok:
innobackupex -v
which xtrabackup
标签:download cache tool mys 验证 gre pre pod arc
原文地址:https://www.cnblogs.com/liandeng/p/9539252.html