unbuntn 下的安装
1.安装gcc ,automake
sudo apt-get install automake
suto apt-get install gcc
suto apt-get install g++
编译环境安装
sudo apt-get install build-essential
2.安装关联
sudo apt-get install openssl
sudo apt -get intall libtool
sudo apt -get intall libssl-dev
3.安装 pcre
下载 wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.01.tar.gz
解压 tar zxvf pcre-8.01.tar.gz
4下载 ngnix
./configure
make
make install
5cd /usr/local/nginx/sbin
sudo ./nginx