服务器端主要是安装memcache服务器端
wget
另外,Memcache用到了libevent这个库用于Socket的处理,所以还需要安装libevent
wget
tar xzf libevent-1.4.14b-stable.tar.gz
cd libevent-1.4.14b-stable
./configure --prefix=/usr/local/libevent-1.4.14b
make && make install
cd ..
tar -zxvf memcached-1.4.4.tar.gz
cd memcached-1.4.4
./configure --prefix=/usr/local/memcached-1.4.4 --with-libevent=/usr/local/libevent-1.4.14b
make
make install
阅读(892) | 评论(0) | 转发(0) |