Skip to content

Instantly share code, notes, and snippets.

@andreferraro
Created July 23, 2015 05:34
Show Gist options
  • Save andreferraro/165271df291966979c19 to your computer and use it in GitHub Desktop.
Save andreferraro/165271df291966979c19 to your computer and use it in GitHub Desktop.
#/bin/bash
apt-get install apt-transport-https -y
curl https://repo.varnish-cache.org/GPG-key.txt | apt-key add -
echo "deb https://repo.varnish-cache.org/ubuntu/ trusty varnish-4.0" >> /etc/apt/sources.list.d/varnish-cache.list
echo "deb-src https://repo.varnish-cache.org/ubuntu/ trusty varnish-4.0" >> /etc/apt/sources.list.d/varnish-cache.list
apt-get update
apt-get install varnish -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment