Updating nginx and installing module

Hello,

I've tried for several hours, googling and searching through pages for the answer but to no avail.

Currently, I am running nginx 1.0.5 and Ubuntu 11.10. I'm trying to install the MP4 module of nginx through the configuration (–with-httpmp4module).

Previously, I have installed nginx through "apt-get install nginx" but I've read that modules can only be installed during compilation.

I followed the guide from the Linode library, using the latest version they had (for 10.10, http://library.linode.com/web-servers/n … 0-maverick">http://library.linode.com/web-servers/nginx/installation/ubuntu-10.10-maverick).

Before compiling I retrieved the configure parameters through nginx -V:

--prefix=/etc/nginx
 --conf-path=/etc/nginx/nginx.conf
 --error-log-path=/var/log/nginx/error.log
 --http-client-body-temp-path=/var/lib/nginx/body
 --http-fastcgi-temp-path=/var/lib/nginx/fastcgi
 --http-log-path=/var/log/nginx/access.log
 --http-proxy-temp-path=/var/lib/nginx/proxy
 --http-scgi-temp-path=/var/lib/nginx/scgi
 --http-uwsgi-temp-path=/var/lib/nginx/uwsgi
 --lock-path=/var/lock/nginx.lock
 --pid-path=/var/run/nginx.pid
 --with-debug
 --with-http_addition_module
 --with-http_dav_module
 --with-http_geoip_module
 --with-http_gzip_static_module
 --with-http_image_filter_module
 --with-http_realip_module
 --with-http_stub_status_module
 --with-http_ssl_module
 --with-http_sub_module
 --with-http_xslt_module
 --with-ipv6
 --with-sha1=/usr/include/openssl
 --with-md5=/usr/include/openssl
 --with-mail
 --with-mail_ssl_module

During the compilation there were several errors, which I resolved by removing modules I thought were unnecessary.

Even though the compilation was a success (I was able to make, make install) the module doesn't seem to be installed and the nginx version doesn't change. The only noticeable change is in the /etc/nginx folder where a few new files were created.

Can anyone guide me through this?

Thank you! :)

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct