How to install and setup varnish on fedora9

Varnish is an HTTP accelerator designed for content-heavy dynamic web sites. In contrast to other HTTP accelerators, many of which began life as client-side proxies or origin servers, Varnish was designed from the ground up as an HTTP accelerator.

Use following command:
[root@localhost purab]# su
[root@localhost purab]# yum install varnish
ncurses are needed for textual “graphical” configuration.
[root@localhost purab]# yum install ncurses-devel

Edit the setting of varnish
[root@localhost purab]# vim /etc/varnish/default.vcl

Start the varnish.
[root@localhost varnish]# /etc/init.d/varnish start

on startup set varnish on
[root@localhost varnish]# /sbin/chkconfig varnish on

Advertisements