下载
wget http://memcached.org/files/memcached-1.5.20.tar.gz
编译安装
tar xzvf memcached-1.5.20.tar.gz
cd memcached-1.5.20/
./configure --prefix=/usr/local/memcached
make
make install
启动
/usr/bin/memcached -d -m 1024 -u root -l 127.0.0.1 -p 11211 -c 1024 -P /tmp/memcached.pid
连接
yum install telnet -y
报错
error: libevent is required.
yum install libevent libevent-devel -y