Setting up Varnish for Drupal on CentOS 6

Varnish has an offical repository so let’s add it to Yum as outlined on https://www.varnish-cache.org/installation/redhat sudo rpm –nosignature -i http://repo.varnish-cache.org/redhat/varnish-3.0/el6/noarch/varnish-release/varnish-release-3.0-1.el6.noarch.rpm sudo yum install varnish Set Varnish to start on system boot sudo chkconfig varnish on Setup DAEMON_OPTS in /etc/sysconfig/varnish, something like below. It will be commented out by default: DAEMON_OPTS=”-a :80 \ -T localhost:8080 \ -u varnish -g… Continue reading Setting up Varnish for Drupal on CentOS 6