系统环境:
1
2
3
4
|
[root@slave src]
# cat /etc/redhat-release
CentOS release 6.8 (Final)
[root@slave src]
# uname -a
Linux slave 2.6.32-642.13.1.el6.x86_64
#1 SMP Wed Jan 11 20:56:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
|
一:下载软件地址https://www.percona.com/downloads/XtraBackup/LATEST/
1
2
3
|
wget https:
//www
.percona.com
/downloads/XtraBackup/Percona-XtraBackup-2
.4.7
/binary/redhat/6/x86_64/percona-xtrabackup-24-2
.4.7-2.el6.x86_64.rpm
wget https:
//www
.percona.com
/downloads/XtraBackup/Percona-XtraBackup-2
.4.7
/binary/redhat/6/x86_64/percona-xtrabackup-24-debuginfo-2
.4.7-2.el6.x86_64.rpm
wget https:
//www
.percona.com
/downloads/XtraBackup/Percona-XtraBackup-2
.4.7
/binary/redhat/6/x86_64/percona-xtrabackup-test-24-2
.4.7-2.el6.x86_64.rpm
|
二.下载必须的软件以及安装
1
2
3
|
yum
install
perl-DBD-MySQL
wget
ftp
:
//rpmfind
.net
/linux/dag/redhat/el6/en/x86_64/dag/RPMS/libev-4
.15-1.el6.rf.x86_64.rpm
rpm -ivh percona-xtrabackup-24-2.4.7-2.el6.x86_64.rpm
|
三:安装xtrabackup
1
2
3
|
rpm -ivh percona-xtrabackup-24-debuginfo-2.4.7-2.el6.x86_64.rpm
rpm -ivh percona-xtrabackup-
test
-24-2.4.7-2.el6.x86_64.rpm
rpm -ivh percona-xtrabackup-
test
-24-2.4.7-2.el6.x86_64.rpm
|
结束
本文转自 yawei555 51CTO博客,原文链接:http://blog.51cto.com/huwei555/1940772,如需转载请自行联系原作者