This document includes install varnish and configuration varnish – i will explain configuration part soon as possible 🙂 – We will install varnish 4.1.9 and set the basic configurations.
I explained installation steps for centos 7 if you choose other distribution, don’t follow the install steps.
For more info: https://varnish-cache.org/releases/
Installation – On Centos 7
yum install epel-release
yum install gcc jemalloc
add varnishcache_varnish41.repo to /etc/yum.repos.d/varnishcache_varnish41.repo
varnishrepo
yum --disablerepo=* --enablerepo=varnishcache_varnish41 install varnish