Installation on Ubuntu
Varnish is distributed in the Ubuntu package repositories, but the version there might be out of date, and we generally recommend using the packages provided by varnish-cache.org. Please be advised that we only provide packages for Ubuntu's LTS releases, not all the intermediate releases.
To use the varnish-cache.org repository, do the following
1. curl <a href="http://repo.varnish-cache.org/debian/GPG-key.txt" title="http://repo.varnish-cache.org/debian/GPG-key.txt">http://repo.varnish-cache.org/debian/GPG-key.txt</a> | apt-key add -
2. echo "deb <a href="http://repo.varnish-cache.org/ubuntu/" title="http://repo.varnish-cache.org/ubuntu/">http://repo.varnish-cache.org/ubuntu/</a> $(lsb_release -s -c) varnish-3.0" >> /etc/apt/sources.list
3. apt-get update
4. apt-get install varnish
If you want to install the older 2.1 version, replace varnish-3.0 with varnish-2.1 in the command above.
Post new comment