These first three lines are probably not required on Ubuntu 12.04 because the main repository already contains version 3, but you can use it anyhow. Older version of Ubuntu do need it though!
curl http://repo.varnish-cache.org/debian/GPG-key.txt | sudo apt-key add -
echo "deb http://repo.varnish-cache.org/ubuntu/ lucid varnish-3.0" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get install varnish
Edit the varnish configuration file.
sudo nano /etc/varnish/default.vcl
Set the backend server. The lines below say that the backend server (Apache) is available More >
Copyright © PieterVogelaar.nl 2006 - 2020 All rights reserved | Disclaimer | RSS Feeds