1. 安装 yum install gcc cc make libevent libevent-devel 2. 安装Berkeley DB 下载:http://www.oracle.com/technetwork/products/berkeleydb/downloads/index.html # tar xvzf db-6.0.20.tar.gz # cd db-6.0.20/ # cd build_unix/ # ../dist/configure # make # m…
#!/bin/bash mkdir ~/build cd ~/build wget http://download.oracle.com/berkeley-db/db-5.1.19.tar.gz .tar.gz cd db-/build_unix/ ../dist/configure make make install cd ~/build wget http://cloud.github.com/downloads/libevent/libevent/libevent-2.0.10-stabl…