1.下载libevent 最新版及memcached稳定版本
http://libevent.org/
http://memcached.googlecode.com/
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
wget http://memcached.googlecode.com/files/memcached-1.4.xx.tar.gz
2.安装libevent
./configure && make
make install
检查,有内容就表示安装OK了
ls -l /usr/local/lib/ | grep even
3.安装memcache1.2.8
[root@www.cndba.cn software]# tar xvfz memcached-1.4.9.tar.gz
./configure --prefix=/usr/local/memcached --with-libevent=/usr/local
make && make install
检查,/usr/local/memcached,有2个文件,安装成功!
版权声明:本文为博主原创文章,未经博主允许不得转载。