Server Setup

Compiling PSOL for packaging. First steps.

by , , revisited on

We have by far the largest RPM repository with NGINX module packages and VMODs for Varnish. If you want to install NGINX, Varnish, and lots of useful performance/security software with smooth yum upgrades for production use, this is the repository for you.
Active subscription is required.

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:


Leave a Reply

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

%d bloggers like this: