memcached 安装

libevent下载网址:http://www.monkey.org/~provos/libevent/

1.解压缩

tarxzfvlibevent-1.4.8-stable.tar.gz

2.进入到libevent-1.4.8-stable目录

cdlibevent-1.4.8-stable

3.编译,安装

./configure

make

makeinstall

注:默认安装到/usr/local/lib/目录

memcached下载网址:http://www.danga.com/memcached/download.bml

安装步骤如下:

1.解压缩

tarxzfvmemcached-1.2.6.tar.gz

2.进入到memcached-1.2.6目录

cdmemcached-1.2.6

3.编译,安装

./configure--prefix=/local/memcached

make

makeinstall

问题处理

检查类库加载

LD_DEBUG=libs/usr/local/memcached/bin/memcached-v

查询类库加载

find/-namelibevent-2.0.so.5

cp/lib/libevent-2.0.so.5/lib64/tls/x86_64/libevent-2.0.so.5

usr/local/memcached/bin#./memcached-d-unobody-m51210.21.130.212-p11211

相关推荐