Installation on Red Hat Linux

Varnish Cache is packaged in RPMs for easy installation and upgrade on Red Hat systems.

Official packages

The Varnish Cache project maintains official packages for the current Enterprise Linux versions. Varnish Cache 4.0 and 4.1 are supported on EL6 and EL7.

Varnish 4.1

If you are on a compatible Linux distribution, use:

yum install epel-release
rpm --nosignature -i https://repo.varnish-cache.org/redhat/varnish-4.1.el7.rpm
(or: rpm --nosignature -i https://repo.varnish-cache.org/redhat/varnish-4.1.el6.rpm for RHEL6)
yum install varnish

Varnish 4.0

If you are on RHEL 6 or a compatible distribution, use:

yum install epel-release
rpm --nosignature -i https://repo.varnish-cache.org/redhat/varnish-4.0.el6.rpm
yum install varnish

For RHEL 7 and compatible distributions, use:

yum install epel-release
rpm --nosignature -i https://repo.varnish-cache.org/redhat/varnish-4.0.el7.rpm
yum install varnish

The –no-signature argument is only needed on initial installation, since the Varnish GPG key is not yet in the yum keyring.

External packaging

Varnish Cache is also distributed in third party package repositories.

On the Cloud

Varnish Cache is also made available by Varnish Software for Red Hat Enterprise Linux on Amazon Web Services (AWS) Elastic Compute Cloud (EC2). Here is a list of the current instances available:

Fresh releases, such as Varnish Cache 5, will be made available soon.