I am struggling to install nginx 1.6.2 with module ngx_pagespeed 1.9.32.1-beta
Can anyone please help me to install this on my debian 7.
Any working tutorial i have tried
Adding PageSpeed Module to installed nginx
but no luck.
Please help
I am struggling to install nginx 1.6.2 with module ngx_pagespeed 1.9.32.1-beta
Can anyone please help me to install this on my debian 7.
Any working tutorial i have tried
Adding PageSpeed Module to installed nginx
but no luck.
Please help
Instead of manually compiling Nginx with pagespeed, it will be a lot easier to use the precompiled package from Dotdeb Repo. This is how you can easily do this:
1) Add dotdeb Repo to your sources list
2) Add the GPG key
3) Update and Upgrade apt-get
4) Install Nginx with pagespeed compiled package like this (this will install both nginx, pagespeed and many other modules with it):
sudo aptitude install nginx-extras
5) Add your Nginx Configurations to nginx.conf
and VHost files
6) Configure Pagespeed and add them to the VHost files
7) Create Symbolic Link of VHost Configuration file in sites-enabled folder
8) Reload Nginx
That's pretty much it. Since you are using Debian 7 it is much simpler installing nginx-extras
package from DotDeb repo as it has many modules compiled together already and its just a 1 step installation to install them all. Dotdeb also have the latest versions available in their repo.
what is the issue that you're seeing when you try to compile ngx with pagespeed? any logs would be helpful.
also please see https://developers.google.com/speed/pagespeed/module/build_ngx_pagespeed_from_source for build instructions.
Thanks, Jeff