RedHat and CentOS Packages Repository

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.

Our repository supports CentOS (RedHat) 6 and 7. It’s powered by a CDN, well maintained with recent stable nginx and module versions. We have built it with stability and automation in mind.

The packages are built automatically within 24 hours of nginx and each module’s official source releases! That means you always get the latest, most secure packages available for install.

YUM repository setup

CentOS 7:

yum -y install https://extras.getpagespeed.com/release-el7-latest.rpm

CentOS 6:

yum -y install https://extras.getpagespeed.com/release-el6-latest.rpm

Metadata GPG verification (optional)

Our repository signs both RPM packages and repository metadata with our GPG signature. So you know you’re getting the genuine builds.

By default, yum will only check signatures on packages themselves. You can also instruct it to check the signature of repository’s metadata. To do this, run:

sed -i 's/gpgcheck=.*/gpgcheck=1nrepo_gpgcheck=1/' /etc/yum.repos.d/getpagespeed-extras.repo

What you can install

For a comprehensive list of what you can install, have a look at:

CentOS 6 has still got some love (mostly for x86_64 arch), but quite less than CentOS 7.

List of some of the most interesting packages follows. In the tables below the package names are hyperlinked with either relevant tutorial by GetPageSpeed, when available, or project’s homepage.

Nginx and nginx modules

We provide stable nginx build plus many dynamic nginx modules built for it. That means you can install just the bare minimum nginx, or extend it heavily with the extra modules, without going through the hassle of compiling and maintaining fresh and secure versions of the modules or nginx itself.

Some of the interesting modules you can install are:

Package Name Description
nginx-module-nps Google PageSpeed for NGINX
nginx-module-headers-more Set, add, and clear arbitrary output headers in NGINX http servers
nginx-module-auth-pam HTTP PAM authentication module
nginx-module-fancyindex Generation of file
listings, like the built-in autoindex module does, but adding
a touch of style
nginx-module-nbr Brotli compression for NGINX
nginx-module-jpeg Adds overlays (e.g. a logo, visual watermark) on JPEGs when they are requested

E.g. to install NGINX stable with PageSpeed and Brotli modules:

yum install nginx nginx-module-nps nginx-module-nbr

Varnish

Varnish 4.1 LTS

Varnish 4.1 and Varnish modules collection are available from our repository by default.

Package Name Description
vmod-basicauth Basic HTTP authentication
vmod-binlog Writing binary log files from Varnish VCL scripts
vmod-dbrw Database-driven rewrites
vmod-dict Dictionary look-up
vmod-variable Enhanced variable support for VCL
vmod-sql SQL access for Varnish Cache
varnish-modules Collection of: cookie, vsthrottle, header, saintmode, softpurge,
tcp, var, xkey
varnish-agent  

E.g. to install Varnish 4.1, varnish-modules and GeoIP 2 VMODs:

yum install varnish varnish-modules vmod-geoip2

Varnish 6.0 LTS

Varnish 6.0 LTS and vast array of VMODs for it are available in optional Varnish 6.0 repository.

Package Name Description
vmod-basicauth Basic HTTP authentication
vmod-binlog Enhanced variable support for VCL scripts
vmod-dbrw Database-driven rewrites
vmod-dict Dictionary look-up
vmod-selector Matching strings associated with backends, regexen and other strings
vmod-re2 Access the Google RE2 regular expression engine
vmod-sql SQL access for Varnish Cache
vmod-tbf Token bucket filtering
vmod-geoip2 GeoIP2
vmod-rfc6052 RFC6052
vmod-memcached Access memcached servers from VCL
vmod-digest libmhash support for Varnish VCL
vmod-xcounter Custom Counters
vmod-geoip GeoIP
vmod-curl cURL bindings
vmod-querystring Fine-grained control over a URL’s
query-string
vmod-variable Enhanced variable support for VCL scripts
varnish-modules Collection of: cookie, vsthrottle, header, saintmode, softpurge,
tcp, var, xkey

To install Varnish and modules, install main repo and yum-utils, then enable the optional repository e.g.:

yum -y install https://extras.getpagespeed.com/release-el7-latest.rpm yum-utils
yum-config-manager --enable getpagespeed-extras-varnish60

Then you can install Varnish 6.0 and the VMODs you need, e.g.:

yum install varnish vmod-geoip2

Latest Monit

Monit is great for watching over your system’s services. We are building RPMs for the latest versions of Monit with all the great new features like IPv6 support.

Fail2ban

The Fail2ban 0.10 started supporting IPv6. That means it’s more useful on dual-stack machines. However, EPEL for CentOS/RedHat 7 only delivers the 0.9 older release which lacks on IPv6 support. We have repackaged the new 0.10 version.

Remote_syslog2

Papertrail‘s remote_syslog2 package is included in our repository for easy setup.

Changelogs

Install yum-plugin-changelog and you will be able to see changelog of packages. E.g. to list 2 last changelog entries for nginx Brotli package, run:

yum changelog 2 nginx-module-nbr

Feedback and Build Requests

We continuously monitor GitHub for new nginx or Varnish modules. If you’ve authored a useful performance software – let us know about so we can build and package it 🙂

Repository Support