安装文件:
libevent-2.0.22-stable.tar.gz
memcached-1.4.32.tar.gz
下载地址:http://download.csdn.net/detail/zhangbest2009/9660263
1)安装libevent-2.0.22-stable.tar.gz
解压:tar xzvf libevent-2.0.22-stable.tar.gz
进入目录libevent-2.0.22-stable,执行如下命令
# ./configure --prefix=/usr/local
# make && make install
2)安装memcached-1.4.32.tar.gz
解压:tar xzvf memcached-1.4.32.tar.gz
进入目录memcached-1.4.32,执行如下命令 # ./configure --with-libevent=/usr/local # make && make install 3)查看安装情况,启动 查看:ls -al /usr/local/bin/memcached 启动:/usr/local/bin/memcached -d -m 1024 -u root -p 11211 -P /tmp/memcached.pid