1 首先要安裝libeventide
tar -xzvf libevent-2.0.21-stable.tar.gzmemcached
cd libevent-2.0.21-stablespa
./configurexml
makeit
make installevent
下面必需要作,不然啓動報錯table
ln -s /usr/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5class
2 memcached安裝test
cd memcached-1.4.25margin
./configure && make && make test && make install
ldd /usr/local/bin/memcached