In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly shows you "how to install xtrabackup", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to install xtrabackup" this article.
Decompression
[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
Error: 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
Solution:
[root@localhost ~] # yum-y install perl-DBD-MySQL
Http://dist.schmorp.de/libev/ download libev-4.15.tar.gz
[root@localhost ~] # tar-zxf libev-4.22.tar.gz
[root@localhost libev-4.22] #. / configure
Checking for a BSD-compatible install... / usr/bin/install-c
Checking whether build environment is sane... Yes
Checking for a thread-safe mkdir-p. / bin/mkdir-p
. ..
[root@localhost libev-4.22] # make
Make all-am
Make [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 install
Make [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/local/lib/libev.so.4.0.0
. .
View libev installation information
[root@localhost libev-4.22] # find /-name 'libev.so'
/ root/libev-4.22/.libs/libev.so
/ usr/local/lib/libev.so
Configure lib access
[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
Install again:
[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
Failed to install again
Download libev (64) and install:
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%]
Installation succeeded
The above is all the contents of the article "how to install xtrabackup". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.