分享更有价值
被信任是一种快乐

如何安装xtrabackup

文章页正文上

这篇文章主要为大家展示了“如何安装xtrabackup”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“如何安装xtrabackup”这篇文章吧。解压[root@localhost ~]# rpm -ivh percona-xtrabackup-2.3.3-1.el6.x86_64.rpmwarning: percona-xtrabackup-2.3.3-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEYerror: Failed dependencies: libev.so.4()(64bit) is needed by percona-xtrabackup-2.3.3-1.el6.x86_64 perl(DBD::mysql) is needed by percona-xtrabackup-2.3.3-1.el6.x86_64解决方法:[root@localhost ~]# yum -y install perl-DBD-MySQLhttp://dist.schmorp.de/libev/下载libev-4.15.tar.gz[root@localhost ~]# tar -zxf libev-4.22.tar.gz[root@localhost libev-4.22]# ./configurechecking for a BSD-compatible install… /usr/bin/install -cchecking whether build environment is sane… yeschecking for a thread-safe mkdir -p… /bin/mkdir -p………..[root@localhost libev-4.22]# makemake all-ammake[1]: Entering directory `/root/libev-4.22′/bin/sh ./libtool –tag=CC –mode=compile gcc -DHAVE_CONFIG_H -I. -g -O3 -MT ev.lo -MD -MP -MF .deps/ev.Tpo -c -o ev.lo ev.c…………[root@localhost libev-4.22]# make installmake[1]: Entering directory `/root/libev-4.22′/bin/mkdir -p ‘/usr/local/lib’/bin/sh ./libtool –mode=install /usr/bin/install -c libev.la ‘/usr/local/lib’libtool: install: /usr/bin/install -c .libs/libev.so.4.0.0 /usr/loc免费主机域名al/lib/libev.so.4.0.0……….
查看libev安装信息
[root@localhost libev-4.22]# find / -name ‘libev.so’
/root/libev-4.22/.libs/libev.so
/usr/local/lib/libev.so
配置lib访问
[root@localhost libev-4.22]# cat /etc/profile
export LIBDIR=/usr/local/lib
export LD_LIBRARY_PATH=/usr/local/lib
export LD_RUN_PATH=/usr/local/lib

再次安装:[root@rh74 XtraBackup]# rpm -ivh percona-xtrabackup-2.3.2-1.el6.x86_64.rpm
warning免费主机域名: percona-xtrabackup-2.3.2-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
error: Failed dependencies:
libev.so.4()(64bit) is needed by percona-xtrabackup-2.3.2-1.el6.x86_64
再次安装失败
下载libev(64)并安装:http://rpmfind.net/linux/rpm2html/search.php?query=libev.so.4()(64bit)
[root@localhost ~]# 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%]
[root@localhost ~]# rpm -ivh percona-xtrabackup-2.3.3-1.el6.x86_64.rpm
warning: percona-xtrabackup-2.3.3-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
Preparing… ########################################### [100%]
1:percona-xtrabackup ########################################### [100%]
[root@localhost ~]# rpm -ivh percona-xtrabackup-debuginfo-2.3.3-1.el6.x86_64.rpm
warning: percona-xtrabackup-debuginfo-2.3.3-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
Preparing… ########################################### [100%]
1:percona-xtrabackup-debu########################################### [100%]
[root@localhost ~]# rpm -ivh percona-xtrabackup-test-2.3.3-1.el6.x86_64.rpm
warning: percona-xtrabackup-test-2.3.3-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
Preparing… ########################################### [100%]
1:percona-xtrabackup-test########################################### [100%]
安装成功以上是“如何安装xtrabackup”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注云技术行业资讯频道!

相关推荐: mysql如何安装cluster

小编给大家分享一下mysql如何安装cluster,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!rpm -ef mysql-4.1.12-3.RHEL4.1 freeradius-m…

文章页内容下
赞(0) 打赏
版权声明:本站采用知识共享、学习交流,不允许用于商业用途;文章由发布者自行承担一切责任,与本站无关。
文章页正文下
文章页评论上

云服务器、web空间可免费试用

宝塔面板主机、支持php,mysql等,SSL部署;安全高速企业专供99.999%稳定,另有高防主机、不限制内容等类型,具体可咨询QQ:360163164,Tel同微信:18905205712

主机选购导航云服务器试用

登录

找回密码

注册