重庆分公司,新征程启航

为企业提供网站建设、域名注册、服务器等服务

CentOS6.5Xtrabackup2.4.2怎么安装

这篇文章主要介绍CentOS 6.5 Xtrabackup 2.4.2怎么安装,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!

成都创新互联是一家集网站建设,门源企业网站建设,门源品牌网站建设,网站定制,门源网站建设报价,网络营销,网络优化,门源网站推广为一体的创新建站企业,帮助传统企业提升企业形象加强企业竞争力。可充分满足这一群体相比中小企业更为丰富、高端、多元的互联网需求。同时我们时刻保持专业、时尚、前沿,时刻以成就客户成长自我,坚持不断学习、思考、沉淀、净化自己,让我们为更多的企业打造出实用型网站。

--方法①
--安装所需的依赖包
[root@localhost /]# yum install perl-DBD-MySQL.x86_64

[root@localhost install]# wget ftp://rpmfind.net/linux/dag/redhat/el6/en/x86_64/dag/RPMS/libev-4.15-1.el6.rf.x86_64.rpm
--2016-04-24 20:01:25--  ftp://rpmfind.net/linux/dag/redhat/el6/en/x86_64/dag/RPMS/libev-4.15-1.el6.rf.x86_64.rpm
           => “libev-4.15-1.el6.rf.x86_64.rpm”
Resolving rpmfind.net... 195.220.108.108
Connecting to rpmfind.net|195.220.108.108|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /linux/dag/redhat/el6/en/x86_64/dag/RPMS ... done.
==> SIZE libev-4.15-1.el6.rf.x86_64.rpm ... 74692
==> PASV ... done.    ==> RETR libev-4.15-1.el6.rf.x86_64.rpm ... done.
Length: 74692 (73K) (unauthoritative)

100%[===================================================================================================================>] 74,692       190K/s   in 0.4s    
2016-04-24 20:01:30 (190 KB/s) - “libev-4.15-1.el6.rf.x86_64.rpm” saved [74692]

[root@localhost install]# rpm -ivh libev-4.15-1.el6.rf.x86_64.rpm 
warning: libev-4.15-1.el6.rf.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Preparing...                ########################################### [100%]
   1:libev                  ########################################### [100%]

--去percona官网下载linux系统通用的软件包
[root@localhost bin]# wget https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.4.2/binary/tarball/percona-xtrabackup-2.4.2-Linux-x86_64.tar.gz
--解压软件包
tar   -zxvf percona-xtrabackup-2.4.2-Linux-x86_64.tar.gz
cd percona-xtrabackup-2.4.2-Linux-x86_64
cd bin/
[root@localhost bin]# ./innobackupex -?

--方法②
--也可以去percona官网下载xtrabackup Redhat系统专用的软件包

[root@localhost install]# 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-04-24 20:09:46--  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.05M/s   in 13s     
2016-04-24 20:10:04 (1.97 MB/s) - “Percona-XtraBackup-2.3.4-re80c779-el6-x86_64-bundle.tar” saved [27504640/27504640]

--安装xtrabackup

[root@localhost install]# rpm -ivh percona-xtrabackup-2.3.4-1.el6.x86_64.rpm
warning: percona-xtrabackup-2.3.4-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
Preparing...                ########################################### [100%]
   1:percona-xtrabackup     ########################################### [100%]

[root@localhost install]# man xtrabackup

[root@localhost install]# which xtrabackup
/usr/bin/xtrabackup

以上是“CentOS 6.5 Xtrabackup 2.4.2怎么安装”这篇文章的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注创新互联行业资讯频道!


当前题目:CentOS6.5Xtrabackup2.4.2怎么安装
URL分享:http://cqcxhl.com/article/pehggo.html

其他资讯

在线咨询
服务热线
服务热线:028-86922220
TOP