CentOS server – How to install Varnish to speedup wordpress

Varnish is a high performance open source HTTP accelerators, Norway’s largest newspaper Verdens Gang online (http://www.VG.no) using 3 Varnish instead of 12 sets of squid, and better performance than before.Varnish is a pretty powerful accelerators. Roy below show you how to install on CentOS Varnish to your WordPress blog up.
1, install Varnsih
Use SSH to log on your VPS, execute the following command to install the Varnish:

Then we start the Varnish:

Set to boot:

2, configuring Varnish
Open default.VCL:

Confirm that the default default.VCL and matches the following code:

Restart Varnish for its entry into force: