#Centos 6.6 final 安装 xtrabackup 2.2.12 小记 #(1)下载xtrabackup wget https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.2.12/binary/redhat/6/x86_64/percona-xtrabackup-2.2.12-1.el6.x86_64.rpm
(2)rpm安装xtrabackup rpm -ivh percona-xtrabackup-2.2.12-1.el6.x86_64.rpm 失败 原因:需要先安装 perl
(3)安装perl yum -y install perl perl-devel libaio libaio-devel perl-Time-HiRes perl-DBD-MySQL 失败 原因:yum perl 默认是安装 mysql-libs-5.1.73-5.el6_6.x86_64 和当前已安装的 server 的 MySQL-server-5.6.25-1.el6.x86_64 有冲突,因此需要先安装shared版本。
(4)下载安装mysql-shared wget http://cdn.mysql.com/archives/mysql-5.6/MySQL-shared-5.6.15-1.el6.x86_64.rpm rpm -ih MySQL-shared-5.6.15-1.el6.x86_64.rpm
(5)下载安装 mysql-shared-compat wget http://cdn.mysql.com/archives/mysql-5.6/MySQL-shared-compat-5.6.15-1.el6.x86_64.rpm rpm -ih MySQL-shared-compat-5.6.15-1.el6.x86_64.rpm
(6)重新安装perl yum -y install perl perl-devel libaio libaio-devel perl-Time-HiRes perl-DBD-MySQL 成功
(7)重新安装 xtrabackup rpm -ivh percona-xtrabackup-2.2.12-1.el6.x86_64.rpm 成功 (责任编辑:IT) |