1. 下载nginx (若果下载了就不用下载)
输入命令 wget http://nginx.org/download/nginx-1.3.8.tar.gz
tar zxvf nginx-1.3.8.tar.gz
2.下载pcre,解压进入目录输入 ./configure 然后make 然后make install
3.下载nginx_upload_module
输入命令wget http://www.grid.net.ru/nginx/download/nginx_upload_module-2.2.0.tar.gz
然后tar zxvf nginx_upload_module-2.2.0.tar.gz解压到nginx-1.3.8目录下
4.下载nginx_uploadprogress_module-0.9.0.tar.gz
输入命令 wget http://cloud.github.com/downloads/masterzen/nginx-upload-progress-
module/nginx_uploadprogress_module-0.9.0.tar.gz
然后 tar zxvf nginx_uploadprogress_module-0.9.0.tar.gz解压到nginx-1.3.8目录下
进入nginx-1.3.8目录输入
bash ./configure --add-module=masterzen-nginx-upload-progress-module-a788dea --add-module=nginx_upload_module-2.2.0
然后make
make install