Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save teebu/2abdeffed89064327039d0f54d45271b to your computer and use it in GitHub Desktop.
Save teebu/2abdeffed89064327039d0f54d45271b to your computer and use it in GitHub Desktop.
Amazon Linux Install Varnish 4.1.10
# varnish 4.1
sudo yum -y install autoconf automake jemalloc-devel libedit-devel libtool ncurses-devel pcre-devel pkgconfig python-docutils python-sphinx graphviz
curl -s https://packagecloud.io/install/repositories/varnishcache/varnish41/script.rpm.sh | sudo bash
wget --content-disposition https://packagecloud.io/varnishcache/varnish41/packages/el/6/varnish-4.1.10-1.el6.x86_64.rpm/download.rpm
sudo rpm -Uvh varnish-4.1.10-1.el6.x86_64.rpm
/usr/sbin/varnishd -V
# varnish 4
sudo yum -y install autoconf automake jemalloc-devel libedit-devel libtool ncurses-devel pcre-devel pkgconfig python-docutils python-sphinx graphviz
curl -s https://packagecloud.io/install/repositories/varnishcache/varnish40/script.rpm.sh | sudo bash
wget --content-disposition https://packagecloud.io/varnishcache/varnish40/packages/el/6/varnish-4.0.5-1.el6.x86_64.rpm/download.rpm
sudo rpm -Uvh --replacepkgs varnish-4.0.5-1.el6.x86_64.rpm
/usr/sbin/varnishd -V
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment