Memecached 搭建

Memecached 搭建

 

安装libevent
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar zxf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure --prefix=/usr/local/libevent
make && make install


安装memcached
wget http://memcached.googlecode.com/files/memcached-1.4.15.tar.gz
tar zxf memcached-1.4.15.tar.gz
cd memcached-1.4.15

zypper in libevent-devel         (可选步骤:opensuse下可能需要执行)
./configure --prefix=/usr/local/memcached --with-libevent=/usr/loca/libevent
make && make install

你可能感兴趣的:(memcached)