fbpx

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:

install/build_psol.sh

Leave a Reply

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

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

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