Nginx Pagespeed Modsecurity Pre-compile

I’ve pre-compile nginx 1.6.2, with the following modules.

You will get Google Pagespeed, Mod_Security and all your Gzip compression modules, I’ve compile this for the Ubuntu 12.04 x64 & Ubuntu 14.04 x64.

Let’s get started.

Download precompile Nginx 1.6.2 from here

I am assuming you’ve already installed your Ubuntu OS, once that’s installed simply run the following command

apt-get update

apt-get install libaprutil1

Finally , its time to install nginx deb package.

Once you unzip the file you will see two folders one is for Ubuntu 12.04 and another one is for 14.04 both are for x64 bit system.

Now install the the package, based on your Ubuntu Os version, Please pay proper attention below in order have a perfect

nginx server.

dpkg – i filename.deb

“” That’s all folks “”

You are all set & done, verify nginx by typing

nginx -V

nginx version: nginx/1.6.2 built by gcc 4.8.2 (Ubuntu 4.8.2-19ubuntu1) TLS SNI support enabled configure arguments: –prefix=/etc/nginx –sbin-path=/usr/sbin/nginx –conf-path=/etc/nginx/nginx.conf –error-log-path=/var/log/nginx/error.log –http-log-path=/var/log/nginx/access.log –pid-path=/var/run/nginx.pid –lock-path=/var/run/nginx.lock –http-client-body-temp-path=/var/cache/nginx/client_temp –http-proxy-temp-path=/var/cache/nginx/proxy_temp –http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp –http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp –http-scgi-temp-path=/var/cache/nginx/scgi_temp –user=root –group=root –with-http_ssl_module –with-http_realip_module –with-http_addition_module –with-http_sub_module –with-http_dav_module –with-http_flv_module –with-http_mp4_module –with-http_gunzip_module –with-http_gzip_static_module –with-http_random_index_module –with-http_gunzip_module –with-http_gzip_static_module –with-http_secure_link_module –with-http_stub_status_module –with-http_secure_link_module –with-http_stub_status_module –with-http_auth_request_module –with-mail –with-mail_ssl_module –with-file-aio –with-http_spdy_module –with-cc-opt=’-g -O2 -fstack-protector –param=ssp-buffer-size=4 -Wformat -Wformat-security’ –with-ld-opt=’-Wl,-Bsymbolic-functions -Wl,-z,relro’ –add-module=/work/nginx/nginx-1.6.2/src/modules/ngx_pagespeed-release-1.9.32.1-beta –add-module=/work/nginx/nginx-1.6.2/src/modules/ModSecurity-2.8.0/nginx/modsecurity –with-ipv6

 

Leave a Reply

Your email address will not be published. Required fields are marked *