Server Setup

Compiling PSOL for packaging. First steps.

by , , revisited on


We have by far the largest RPM repository with dynamic stable NGINX modules and VMODs for Varnish 4.1 and 6.0 LTS. If you want to install nginx, Varnish and lots of useful modules for them, this is your one stop repository to get all performance related software.
You have to maintain an active subscription in order to be able to use the repository!

CentOS 7 build system. libstdc++-static must be installed

Based on: https://www.modpagespeed.com/doc/build_mod_pagespeed_from_source

mkdir -p ~/bin
cd ~/bin
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=$PATH:~/bin/depot_tools
git clone -b latest-stable --recursive https://github.com/apache/incubator-pagespeed-mod.git
cd incubator-pagespeed-mod
python build/gyp_chromium --depth=.
make BUILDTYPE=Release mod_pagespeed_test pagespeed_automatic_test

Build and generate PSOL archive:

install/build_psol.sh

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.