在linux下安装memcacheq

时间:2023-03-08 17:26:12
 #!/bin/bash
mkdir ~/build
cd ~/build
wget http://download.oracle.com/berkeley-db/db-5.1.19.tar.gz
tar xzf db-5.1..tar.gz
cd db-5.1./build_unix/
../dist/configure
make
make install cd ~/build
wget http://cloud.github.com/downloads/libevent/libevent/libevent-2.0.10-stable.tar.gz
tar xzf libevent-2.0.-stable.tar.gz
cd libevent-2.0.-stable/
./configure
make
make install cd ~/build
wget http://memcacheq.googlecode.com/files/memcacheq-0.2.0.tar.gz
tar xzf memcacheq-0.2..tar.gz
cd memcacheq-0.2./
./configure –with-bdb=/usr/local/BerkeleyDB.5.1 –with-libevent=/usr/local/lib –enable-threads
make
make install