Installer Varnish

From Tuxunix
Jump to: navigation, search

Debian

Squeeze

 $> curl http://repo.varnish-cache.org/debian/GPG-key.txt | apt-key add -
 $> echo "deb http://repo.varnish-cache.org/debian/ squeeze varnish-3.0" >> /etc/apt/sources.list
 $> apt-get update
 $> apt-get install varnish

Configuration

  • La configuration des processus varnishd, varnishlog et varnishncsa se trouve dans /etc/default :

varnishd Configuration du processus varnishd.

varnishlog Configuration du processus de log varnish.

varnishncsa Configuration du processus de log varnish au format Apache.