memcached安装与配置
1.安装libevent
#tar zxvf libevent-1.4.9-stable.tar.gz
#cd libevent-1.4.9-stable
#./configure --prefix=/opt/app/libevent
#make; make install
2.安装Memcached
#tar zxvf memcached-1.2.6.tar.gz
#cd memcached-1.2.6
#./configure --prefix=/opt/app/memcache
#make; make install
3.运行memcached
/opt/app/memcached/bin/memcached -p 11211 -d -u nobody -c 1024 -m 1024
阅读(1099) | 评论(0) | 转发(1) |