How to Compiling nginx-upload-progress-module

spacereactor nginx-forum at nginx.us
Sat Oct 23 11:13:22 MSD 2010


I not sure how to compile nginx-upload-progress-module, This is my step
for ubuntu 10.04 in linode server. i create a temp folder to dump all
the source there.

cd temp
wget http://nginx.org/download/nginx-0.8.53.tar.gz
(download from http://github.com/masterzen/nginx-upload-progress-module
and sftp to "temp")
masterzen-nginx-upload-progress-module-v0.8.1-0-gc740674.tar.gz

upzip them
tar xzvf nginx-0.8.53.tar.gz
tar xzvf
masterzen-nginx-upload-progress-module-v0.8.1-0-gc740674.tar.gz

I got funny folder name for
masterzen-nginx-upload-progress-module-c740674, anyway i rename it as
nginx_uploadprogress_module

cd nginx-0.8.53
./configure --prefix=/opt \
--sbin-path=/opt/sbin/nginx \
--conf-path=/opt/etc/nginx/http-nginx.conf \
--error-log-path=/var/log/http-nginx/error.log \
--http-log-path=/var/log/http-nginx/access.log \
--pid-path=/var/run/http-nginx.pid \
--lock-path=/var/lock/http-nginx.lock \
--user=www-data \
--group=www-data \
--with-http_realip_module \
--with-rtsig_module \
--with-http_gzip_static_module \
--with-http_stub_status_module \
--with-http_ssl_module \
--without-mail_pop3_module \
--without-mail_imap_module \
--without-mail_smtp_module \
--add-module=/root/temp/nginx-uploadprogress-module/ 

make &&
make install

Is this the correct way? cause really don't understand from
http://wiki.nginx.org/HttpUploadProgressModule

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,143760,143760#msg-143760




More information about the nginx mailing list