jimmygan 发表于 2013-1-28 22:05:16

centos安装nginx

安装步骤如下:
下载安装包

yum install pcre-devel zlib-devel openssl-devel

下载ngix代码

wget http://nginx.org/download/nginx-0.7.65.tar.gz tar zvxf nginx-0.7.65.tar.gz

下载nginx-upload-progress-module

wget http://github.com/masterzen/nginx-upload-progress-module/tarball/v0.7tar zvxf masterzen-nginx-upload-progress-module-ac62a29.tar.gz

编译安装

./configure --prefix=~/program/nginx-0.7.65 --with-http_ssl_module --add-module=../masterzen-nginx-upload-progress-module-ac62a29make && make install

安装参考网址:

http://articles.slicehost.com/2009/2/2/centos-installing-nginx-from-source
http://wiki.nginx.org/NginxHttpUploadProgressModule#Installation
页: [1]
查看完整版本: centos安装nginx