How to install vmod-basicauth on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
Basic HTTP authentication for Varnish Cache
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.1.7 | ||
| RHEL 9 | Varnish 6.0 LTS | 6.0.18.1.7 | ||
| RHEL 8 | Varnish 6.0 LTS | 6.0.18.1.7 | ||
| RHEL 7 | Base | — | 4.1.11.1.8 | |
| Varnish 6.0 LTS | 6.0.18.1.7 |
Description
A module for Varnish Cache, implementing basic HTTP authentication against the password file created with the htpasswd(1) utility
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
Base
RHEL 7
vmod-basicauth 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-basicauth
Varnish 6.0 LTS
RHEL 7, 8, 9, 10
vmod-basicauth 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-basicauth
vmod-basicauth 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-basicauth
Package downloads require an active GetPageSpeed subscription — one repository for vmod-basicauth and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Subscribe — from $10/moFrequently asked questions
How do I install vmod-basicauth on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the vmod-basicauth package with your system package manager.
Which Enterprise Linux versions is vmod-basicauth available for?
vmod-basicauth is available for RHEL 7, 8, 9, 10.