1. Nginx的安装依赖于以下四个包
(1)SSL功能需要openssl库,下载地址:http://www.openssl.org/
(2)gzip模块需要zlib库,下载地址:http://www.zlib.net/
(3)rewrite模块需要pcre库,下载地址:http://www.pcre.org/
(4)GCC的安装包:下载地址为:https://niceyoo.lanzoux.com/i5nIdmx2n9e
(5)Nginx的安装包:下载地址为:http://nginx.org/en/download.html
所需安装包截图如下:
2 .安装gcc