[root@localhost ~]# tar -xzvf libevent-2.1.11-stable.tar.gz
3、编译,安装
[root@localhost ~]# cd libevent-2.1.11-stable
[root@localhost libevent-2.1.11-stable]# ./configure --prefix=/usr/local/libevent
[root@localhost libevent-2.1.11-stable]# make && make install
[root@localhost ~]# tar -xzvf memcached-1.6.1.tar.gz
3、编译,安装
[root@localhost ~]# cd memcached-1.6.1[root@localhost memcached-1.6.1]# ./configure --prefix=/usr/local/memcached --with-libevent=/usr/local/libevent/[root@localhost memcached-1.6.1]# make && make install