Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mindreframer/vagrant-varnish-vmods-builder
Install Varnish from custom DEB package with plenty VMODs
https://github.com/mindreframer/vagrant-varnish-vmods-builder
Last synced: 3 months ago
JSON representation
Install Varnish from custom DEB package with plenty VMODs
- Host: GitHub
- URL: https://github.com/mindreframer/vagrant-varnish-vmods-builder
- Owner: mindreframer
- Created: 2013-09-23T12:08:48.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-21T14:49:29.000Z (over 10 years ago)
- Last Synced: 2024-01-22T01:28:47.784Z (5 months ago)
- Language: Ruby
- Homepage:
- Size: 137 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Lists
- awesome-varnish - Creating Deb Package with all the popular VMODS, 2013.09
README
# Package Varnish with [VMODs](https://www.varnish-cache.org/vmods)
## What is this?
This script will create a Debian/Ubuntu package for [Varnish Cache Server](https://www.varnish-cache.org/) with many VMODs compiled in.The tasty stuff is in [varnish_installer.rb](https://github.com/mindreframer/vagrant-varnish-vmods-builder/blob/master/sh/varnish_installer.rb) - script. It will generate a rather lengthy bash script with all the necessary steps to:
- install dependencies,
- download sources,
- configure them,
- install,
- preparing all the specified VMODs
- and wrapping it up in a delicious and lightweight package, that is very easy to install.For the unpacient:
$ apt-get install gdebi-core
$ wget http://optimate.dl.sourceforge.net/project/mindreframerpackages/varnish-3.0.4.ubuntu.12.04_amd64.deb
$ gdebi -n varnish-3.0.4.ubuntu.12.04_amd64.deb
# get the list of installed VMODs
$ ls -la /usr/local/lib/varnish/vmods### Compiled VMODS
*** GENERATED BY sh/update_readme.rb ***
statsd:
- https://github.com/jib/libvmod-statsd.git
timers:
- https://github.com/jib/libvmod-timers.git
curl:
- https://github.com/varnish/libvmod-curl.git
ipcast:
- https://github.com/lkarsten/libvmod-ipcast.git
throttle:
- https://github.com/nand2/libvmod-throttle.git
var:
- https://github.com/varnish/libvmod-var.git
memcached:
- https://github.com/sodabrew/libvmod-memcached.git
digest:
- https://github.com/varnish/libvmod-digest.git
shield:
- https://github.com/varnish/libvmod-shield.git
threescale:
- https://github.com/3scale/libvmod-3scale.git
cookie:
- https://github.com/lkarsten/libvmod-cookie.git
urlcode:
- https://github.com/fastly/libvmod-urlcode.git
timeutils:
- https://github.com/jthomerson/libvmod-timeutils.git
dgram:
- https://github.com/mmb/vmod_dgram.git
parsereq:
- https://github.com/xcir/libvmod-parsereq.git
header:
- https://github.com/varnish/libvmod-header.git## Requirements:
- [Vagrant - Download](http://downloads.vagrantup.com/)
- Vagrant-cachier`vagrant plugin install vagrant-cachier`
- Ubuntu 12.04 box
`vagrant box add precise64 http://files.vagrantup.com/precise64.box`
## Installation
$ git clone https://github.com/mindreframer/vagrant-varnish-vmods-builder.git
$ cd vagrant-varnish-vmods-builder# will install vagrant plugins
$ sh/update-plugins$ vagrant up box1
$ vagrant ssh box1 -c "sudo /vagrant/sh/install-varnish.sh"## Testing on a clean system
$ vagrant up box2
$ vagrant ssh box2
## on the box2 system
$ apt-get install gdebi-core
$ gdebi -n /vagrant/pkg/varnish-3.0.4.ubuntu.12.04_amd64.deb
# get the list of installed VMODs
$ ls -la /usr/local/lib/varnish/vmods$ varnishd -V
varnishd (varnish-3.0.4 revision 9f83e8f)
Copyright (c) 2006 Verdens Gang AS
Copyright (c) 2006-2011 Varnish Software AS