Skip to content

Instantly share code, notes, and snippets.

@jwizard
Created January 9, 2013 01:34
Show Gist options
  • Save jwizard/4489818 to your computer and use it in GitHub Desktop.
Save jwizard/4489818 to your computer and use it in GitHub Desktop.
https://www.varnish-cache.org/installation/redhat
http://repo.varnish-cache.org/source/
https://www.varnish-cache.org/docs/3.0/tutorial/starting_varnish.html
yum install pcre
yum install pcre-devel
wget http://repo.varnish-cache.org/source/varnish-3.0.0.tar.gz
tar xvzf varnish-3.0.0.tar.gz
cd varnish-3.0.0
sh autogen.sh
sh configure
make
make install
/usr/local/sbin/varnishd -f /usr/local/etc/varnish/default.vcl -s malloc,1G -T 127.0.0.1:2000 -a 0.0.0.0:8080
wget http://repo.varnish-cache.org/source/varnish-2.1.5.tar.gz
tar xvzf varnish-2.1.5.tar.gz
cd varnish-2.1.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment