Ubuntu installation guide page installs outdated Varnish cache
Amedeo Salvati
amedeo at oscert.net
Mon Jan 3 11:21:01 CET 2011
hi Aaron,
generally i prefer to don't build from source application on
production env, related for security issue to have c compiler
installed on the same host, but for varnish i think this doesn't
matter because varnish require gcc or c compiler to compile vcl script
at run time; for this issue i have configured varnish on chroot jail,
and so i wrote (yesterday 02-01-2011) another howto:
http://lab.oscert.net/varnish/varnish-in-chroot-jail
google translator:
http://translate.google.it/translate?js=n&prev=_t&hl=it&ie=UTF-8&layout=2&eotf=1&sl=it&tl=en&u=http%3A%2F%2Flab.oscert.net%2Fvarnish%2Fvarnish-in-chroot-jail
another solution that you can walk is to build varnish on dev host,
pack a chroot env with a script, it's a very simple script but for me
work: https://github.com/amedeos/UVarnishChroot (if you find bug or
enhancement please let me know) and finally deploy to production host.
regards
as
2011/1/3 Aaron . <ratz at hotmail.com>:
> Hello Amedeo,
>
> Thank you for your kind response and link to the how-to.
>
> I was trying to avoid building Varnish from source as I'm using Puppet to
> implement changes to all my servers (rather than doing repetitive work on
> each machine) and multiple EC2 instances. Appreciate the write-up though,
> it's in my bookmark now ;-)
>
> Cheers, and Happy 2011!
>
> Best regards,
> Aaron
>
>
>> Date: Mon, 3 Jan 2011 10:35:01 +0100
>> Subject: Re: Ubuntu installation guide page installs outdated Varnish
>> cache
>> From: amedeo at oscert.net
>> To: ratz at hotmail.com
>> CC: varnish-misc at varnish-cache.org
>>
>> hi Aaron,
>>
>> some days ago i wrote this howto for ubuntu, it's in italian but if
>> you want you can use google translator or something like that...
>>
>> Original link:
>> http://lab.oscert.net/varnish/installazione-di-varnish-dai-sorgenti
>>
>> google translator:
>>
>> http://translate.google.it/translate?js=n&prev=_t&hl=it&ie=UTF-8&layout=2&eotf=1&sl=it&tl=en&u=http%3A%2F%2Flab.oscert.net%2Fvarnish%2Finstallazione-di-varnish-dai-sorgenti
>>
>> regards
>> amedeo
>>
>> 2010/12/22 Aaron . <ratz at hotmail.com>:
>> > Hello, tried contacting varnish contact person, but couldn't find any
>> > ways
>> > to do so - thus the mailing list. Sorry if I'm causing others any
>> > inconvenience ;-)
>> >
>> > Just a heads up for those using the Ubuntu installation guide: it
>> > installs
>> > an outdated varnish:
>> >
>> > root at xen7:/etc/apache2# varnishd -V
>> >
>> > varnishd (varnish-1.0.3)
>> >
>> > Copyright (c) 2006 Linpro AS / Verdens Gang AS
>> >
>> > root at xen7:/etc/apache2#
>> >
>> > Here's what I did (rather than re-compliing from source to get 2.1.4 (am
>> > getting 2.1.2 on Ubuntu Hardy)
>> >
>> > 1.
>> >
>> > From
>> >
>> > http://repo.varnish-cache.org/debian/dists/hardy/varnish-2.1/binary-amd64/:
>> >
>> >
>> > wget
>> >
>> > http://repo.varnish-cache.org/debian/dists/hardy/varnish-2.1/binary-amd64/varnish_2.1.2-1~hardy1_amd64.deb
>> >
>> > 2.
>> >
>> > To resolve dependency issues:
>> >
>> > apt-get install libvarnish1
>> > 3.
>> > dpkg -i varnish_2.1.2-1~hardy1_amd64.deb
>> >
>> > After installation:
>> >
>> > root at xen7:/home/bsg/download# varnishd -V
>> >
>> > varnishd (varnish-2.1.2 SVN )
>> >
>> > Copyright (c) 2006-2009 Linpro AS / Verdens Gang AS
>> >
>> > root at xen7:/home/bsg/download#
>> >
>> >
>> > Hope this helps :-)
>> >
>> > Keep up the great work guys!
>> >
>> > Cheers,
>> > Aaron
>> >
>> > _______________________________________________
>> > varnish-misc mailing list
>> > varnish-misc at varnish-cache.org
>> > http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>> >
>
More information about the varnish-misc
mailing list