安装memcached服务端
yum install libevent
tar zxvf memcached-1.4.5.tar.gz
cd memcached
./configure --prefix=/usr/local/memcached --with-libevent=/usr
make
make install
如果在安装过程中出现
checking for libevent directory... configure: error: libevent is required. You can get it from http://www.monkey.org/~provos/libevent/
If it's already installed, specify its path using --with-libevent=/dir/
这样的错误的话。就安装一下 libevent-devel
转载于:https://blog.51cto.com/rhca30/553262