Skip to content

Instantly share code, notes, and snippets.

@Marko-M
Last active August 29, 2015 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Marko-M/f359c30a7514a3e94c40 to your computer and use it in GitHub Desktop.
Save Marko-M/f359c30a7514a3e94c40 to your computer and use it in GitHub Desktop.
Varnish 3.x for Ubuntu 14.10
#!/bin/bash
# Varnish 3.x for Ubuntu 14.10
# Add repository
sudo add-apt-repository ppa:marko-techytalk.info/varnish-3.0
# Update sources
sudo apt-get update
# Install Varnish 3.x
sudo apt-get install libvarnishapi1=3.0.6-1ubuntu1ppa1~utopic1 varnish=3.0.6-1ubuntu1ppa1~utopic1
# Hold it to prevent update to Varnish 4.x
sudo apt-mark hold libvarnishapi1 varnish
# Check current Varnish version
varnishd -V
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment