1. 下载nginx并解压,先不要执行make
http://nginx.org/en/download.html
2. 下载openssl并解压,先不要执行make
https://www.openssl.org/
3. 下载pcre并解压,先不要执行make
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
4. 配置nginx
5. 编译安装
make;make install