http://www.liquidweb.com/kb/how-to-install-memcached-on-centos-6/
支持原创!!
1、安装memcached依赖(socket处理)
yum install libevent libevent-devel
cd /usr/local/src
wget http://memcached.googlecode.com/files/memcached-1.4.15.tar.gz
./configure
先安装编译工具
yum install gcc
yum install make
./config成功后
make && make install
memcached -d -u [user] -m [memory size] -p [port] [listening IP]
如
memcached -d -u root -m 512 -p 11211 127.0.0.1
have fun!