Установка pagespeed на Debian 7

cd /temp

wget https://github.com/pagespeed/ngx_pagespeed/archive/release-1.9.32.6-beta.zip
unzip release-1.9.32.6-beta.zip
cd ngx_pagespeed-release-1.9.32.6-beta

wget https://dl.google.com/dl/page-speed/psol/1.9.32.6.tar.gz
tar -xzvf 1.9.32.6.tar.gz

wget http://nginx.org/download/nginx-1.8.0.tar.gz
tar -xvzf nginx-1.8.0.tar.gz

cd nginx-1.8.0/

./configure —conf-path=/etc/nginx/nginx.conf —error-log-path=/var/log/nginx/error.log —sbin-path=/usr/sbin/nginx —pid-path=/var/run/nginx.pid —lock-path=/var/lock/nginx.lock —http-log-path=/var/log/nginx/access.log —http-client-body-temp-path=/var/lib/nginx/body —http-proxy-temp-path=/var/lib/nginx/proxy —http-fastcgi-temp-path=/var/lib/nginx/fastcgi —http-uwsgi-temp-path=/var/lib/nginx/uwsgi —http-scgi-temp-path=/var/lib/nginx/scgi —prefix=/var/lib/nginx —with-http_stub_status_module —with-http_flv_module —with-http_ssl_module —with-http_dav_module —with-http_sub_module —with-http_realip_module —with-http_gzip_static_module —with-http_secure_link_module —with-ipv6 —with-debug —add-module=/temp/ngx_pagespeed-release-1.9.32.6-beta

./configure —add-module=$HOME/ngx_pagespeed-release-1.9.32.6-beta

cd /temp/ngx_pagespeed-release-1.9.32.6-beta/nginx-1.8.0

aptitude install libssl-dev

make
make install

/etc/init.d/nginx restart
nginx -v

 

Материал:

http://habrahabr.ru/post/214095/

https://developers.google.com/speed/pagespeed/module/build_ngx_pagespeed_from_source?hl=ru

 

РубрикиVDS