How to install vmod-geoip2 on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
GeoIP2 VMOD for Varnish
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | aarch64 | x86_64 | Version |
|---|---|---|---|---|
| RHEL 10 | Varnish 6.0 LTS | 6.0.18+21.2.1 | ||
| RHEL 9 | Varnish 6.0 LTS | 6.0.18+21.2.1 | ||
| RHEL 8 | Varnish 6.0 LTS | 6.0.18+21.2.1 | ||
| RHEL 7 | Base | — | 4.1.11.0.1 | |
| Varnish 6.0 LTS | 6.0.18+21.2.1 | |||
| RHEL 6 | Varnish 6.0 LTS | — | 6.0.8.1.2.1 |
Description
A Varnish VMOD to query MaxMind GeoIP2 DB files
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
Base
RHEL 7
vmod-geoip2 on CentOS 7 / RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install vmod-geoip2
Varnish 6.0 LTS
RHEL 6, 7, 8, 9, 10
vmod-geoip2 on AlmaLinux / Rocky Linux / Oracle Linux / RHEL 8, 9, 10
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install dnf-plugins-core sudo dnf config-manager --enable getpagespeed-extras-varnish60 sudo dnf -y install vmod-geoip2
vmod-geoip2 on CentOS 7 / RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install yum-utils sudo yum-config-manager --enable getpagespeed-extras-varnish60 sudo yum -y install vmod-geoip2
vmod-geoip2 on CentOS / RHEL 6
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install yum-utils sudo yum-config-manager --enable getpagespeed-extras-varnish60 sudo yum -y install vmod-geoip2
Package downloads require an active GetPageSpeed subscription — one repository for vmod-geoip2 and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Subscribe — from $10/moFrequently asked questions
How do I install vmod-geoip2 on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the vmod-geoip2 package with your system package manager.
Which Enterprise Linux versions is vmod-geoip2 available for?
vmod-geoip2 is available for RHEL 6, 7, 8, 9, 10.