- 从http://nginx.org/download/ 现在稳定版本 Stable version
- 解压 tar -zxvf nginx-1.5.9.tar.gz
- 配置
./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module
- make 编译 make install 安装
相关依赖
yum -y install pcre-devel
yum -y install openssl openssl-devel