memcached-1.4.15.tar.gz下载地址:
http://code.google.com/p/memcached/downloads/list 或
wget http://memcached.googlecode.com/files/memcached-1.4.15.tar.gz
yum install -y libevent libevent-devel gcc
tar zxvf memcached-1.4.15.tar.gz
cd memcached-1.4.15
./configure --prefix=/usr/local/memcached
make
make install
ln -s /usr/local/memcached/bin/memcached /usr/local/bin/
memcached -d -m 512 -c 512 -p 11211 -u root -t 10