Installing Varnish on CentOS 7.2 is pretty straight forward, start off by adding the epel-release repo.

With the repo added install Varnish

Start Varnish

Start Varnish at startup

That’s it, you’ve installed varnish, started the service and added the service to OS startup.

You’ll now need to configure Varnish, the configurations files are located at /etc/varnish