设为首页 加入收藏

TOP

MySQL Study之--MySQL innodb引擎备份工具XtraBackup之一(Install)(三)
2015-11-21 01:38:16 来源: 作者: 【 】 浏览:4
Tags:MySQL Study --MySQL innodb 引擎 备份工具 XtraBackup 之一 Install
l: chmod 644 /usr/local/lib/libev.a
libtool: install: ranlib /usr/local/lib/libev.a
libtool: finish: PATH="/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
? ?/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
? ?- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
? ? ?during execution
? ?- add LIBDIR to the `LD_RUN_PATH' environment variable
? ? ?during linking
? ?- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
? ?- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
?/bin/mkdir -p '/usr/local/include'
?/usr/bin/install -c -m 644 ev.h ev++.h event.h '/usr/local/include'
?/bin/mkdir -p '/usr/local/share/man/man3'
?/usr/bin/install -c -m 644 ev.3 '/usr/local/share/man/man3'
make[1]: Leaving directory `/home/mysql/libev-4.15'
?
查看libev安装信息:
[root@rh64 libev-4.15]# find / -name 'libev.so*'
/home/mysql/libev-4.15/.libs/libev.so.4.0.0
/home/mysql/libev-4.15/.libs/libev.so
/home/mysql/libev-4.15/.libs/libev.so.4
/usr/local/lib/libev.so.4.0.0
/usr/local/lib/libev.so.4
/usr/local/lib/libev.so
?
配置lib访问环境:
[root@rh64 XtraBackup]# cat /etc/profile
export LIBDIR=/usr/local/lib
export LD_LIBRARY_PATH=/usr/local/lib
export LD_RUN_PATH=/usr/local/lib
"/etc/profile" 82L, 1898C written
?
再次安装:
[root@rh64 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的版本不对,应该下载libev(64)
?
?
下载libev(64)并安装:
http://rpmfind.net/linux/rpm2 html/search.php?query=libev.so.4()(64bit)
?
[root@rh64 mysql]# rpm -ivh libev-4.04-2.el6.x86_64.rpm?
warning: libev-4.04-2.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 66534c2b: NOKEY
Preparing... ? ? ? ? ? ? ? ?########################################### [100%]
? ?1:libev ? ? ? ? ? ? ? ? ?########################################### [100%]
?
[root@rh64 mysql]# rpm -qa |grep libev
libevent-1.4.13-4.el6.x86_64
libevent-1.4.13-4.el6.i686
libev-4.04-2.el6.x86_64
[root@rh64 mysql]# rpm -ql libev
/usr/lib64/libev.so.4
/usr/lib64/libev.so.4.0.0
/usr/share/doc/libev-4.04
/usr/share/doc/libev-4.04/Changes
/usr/share/doc/libev-4.04/LICENSE
/usr/share/doc/libev-4.04/README
?
安装xtrabackup:
?
[root@rh64 XtraBackup]# ls
percona-xtrabackup-2.3.2-1.el6.x86_64.rpm ? ? ? ? ? ?percona-xtrabackup-test-2.3.2-1.el6.x86_64.rpm
percona-xtrabackup-debuginfo-2.3.2-1.el6.x86_64.rpm
?
[
首页 上一页 1 2 3 4 下一页 尾页 3/4/4
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇不同场景下 MySQL 的迁移方案 下一篇mysqlworkbench水平滚动条不见的..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: