This is a quick and dirty rundown on how to install Varnish 2.1.x on Ubuntu Hardy (8.04 LTS).

Get sources setup

Add the repository to /etc/apt/sources.list:

Import the key for the new repository:

Installation

Update sources list and install varnish:

Files of importance:

Double-check:

Further reading

I recommend a mix of the following websites/links:

Fin

That’s all!