Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Dist

Ubnuntu installation woes

 

 

Varnish dist RSS feed   Index | Next | Previous | View Threaded


trevorturk at gmail

Oct 21, 2009, 1:46 PM

Post #1 of 7 (2571 views)
Permalink
Ubnuntu installation woes

Hello all,

I've been struggling a bit to get Varnish installed on an Ubuntu 8.10
intrepid. I started with the apt-get method, but that produced a
really badly out of date release. Then, I've been working by
installing from source. I ran into a problem that Kristian helped me
with in the #varnish IRC room. Apparently, I need to add
"/usr/local/lib" to "/etc/ld.member:so.conf" in order to get the
libraries loaded. I was getting errors about "varnishd: error while
loading shared libraries: libvarnish.so.1" before this.

Kristian suggested that I should drop a note to the mailing list about
this. I'm wondering if:

a) The wiki might be updated to have more detail installation
instructions that cover this potential issue.

b) another person in IRC suggested that there was a debian package in
the svn repo, but I wasn't able to get that working. Perhaps there are
some instructions that could be added to the wiki about that?

c) The apt-get-able package might be updated somehow, perhaps I should
put in a request elsewhere about this, though.

Thanks very much for your work on Varnish. I've had excellent test
results with it, and I've used it on Heroku and been very impressed so
far.

- Trevor


yanntech at gmail

Oct 21, 2009, 2:31 PM

Post #2 of 7 (2476 views)
Permalink
Ubnuntu installation woes [In reply to]

hi,

You can create a baclport, source the karmic varnish version and compile
under 8.10 it's Easy !

Le 21 oct. 2009, 10:55 PM, "Trevor Turk" <trevorturk at gmail.com> a ?crit :

Hello all,

I've been struggling a bit to get Varnish installed on an Ubuntu 8.10
intrepid. I started with the apt-get method, but that produced a
really badly out of date release. Then, I've been working by
installing from source. I ran into a problem that Kristian helped me
with in the #varnish IRC room. Apparently, I need to add
"/usr/local/lib" to "/etc/ld.member:so.conf" in order to get the
libraries loaded. I was getting errors about "varnishd: error while
loading shared libraries: libvarnish.so.1" before this.

Kristian suggested that I should drop a note to the mailing list about
this. I'm wondering if:

a) The wiki might be updated to have more detail installation
instructions that cover this potential issue.

b) another person in IRC suggested that there was a debian package in
the svn repo, but I wasn't able to get that working. Perhaps there are
some instructions that could be added to the wiki about that?

c) The apt-get-able package might be updated somehow, perhaps I should
put in a request elsewhere about this, though.

Thanks very much for your work on Varnish. I've had excellent test
results with it, and I've used it on Heroku and been very impressed so
far.

- Trevor
_______________________________________________
varnish-dist mailing list
varnish-dist at projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.linpro.no/pipermail/varnish-dist/attachments/20091021/cabc26ec/attachment.htm


trevorturk at gmail

Oct 21, 2009, 2:37 PM

Post #3 of 7 (2470 views)
Permalink
Ubnuntu installation woes [In reply to]

Hi Yann,

Thanks for the reply, but I'm not really sure what you mean! Can you
please explain in a bit more detail? I'm not really an expert when it
comes to installing packages like this, and I need a bit more to go on
:)

On Wed, Oct 21, 2009 at 4:31 PM, Yann Verry <yanntech at gmail.com> wrote:
> You can create a baclport, source the karmic varnish version and compile
> under 8.10 it's Easy !


yanntech at gmail

Oct 21, 2009, 11:17 PM

Post #4 of 7 (2472 views)
Permalink
Ubnuntu installation woes [In reply to]

OK,

switch your sources.list to karmic ( sed -i.hardy 's/hardykarmic/g'
/etc/apt/sources.list ).
apt-get update && apt-get source varnish
rollback your sources.list (with my sed command you have a backup) and
buildpackage.

launch dpkg-buildpackage in varnish dir, after that you have backported the
latest varnish in ubuntu hardy.


On Wed, Oct 21, 2009 at 23:37, Trevor Turk <trevorturk at gmail.com> wrote:

> Hi Yann,
>
> Thanks for the reply, but I'm not really sure what you mean! Can you
> please explain in a bit more detail? I'm not really an expert when it
> comes to installing packages like this, and I need a bit more to go on
> :)
>
> On Wed, Oct 21, 2009 at 4:31 PM, Yann Verry <yanntech at gmail.com> wrote:
> > You can create a baclport, source the karmic varnish version and compile
> > under 8.10 it's Easy !
>



--
Linux, une histoire de vi ou de more
--. . . -.- ....- . ...- . .-.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.linpro.no/pipermail/varnish-dist/attachments/20091022/e4ed4c89/attachment.htm


des at des

Oct 22, 2009, 9:46 AM

Post #5 of 7 (2470 views)
Permalink
Ubnuntu installation woes [In reply to]

Yann Verry <yanntech at gmail.com> writes:
> switch your sources.list to karmic ( sed -i.hardy 's/hardykarmic/g' /etc/apt/
> sources.list ).
> apt-get update && apt-get source varnish
> rollback your sources.list (with my sed command you have a backup) and buildpackage.
>
> launch dpkg-buildpackage in varnish dir, after that you have backported the latest
> varnish in ubuntu hardy.

Umm, how about:

% svn co http://varnish.projects.linpro.no/svn/tags/varnish-2.0.4
% cd varnish-2.0.4/varnish-cache
% dpkg-buildpackage

DES
--
Dag-Erling Sm?rgrav - des at des.no


trevorturk at gmail

Oct 22, 2009, 10:13 AM

Post #6 of 7 (2470 views)
Permalink
Ubnuntu installation woes [In reply to]

2009/10/22 Dag-Erling Sm?rgrav <des at des.no>:
> Umm, how about:
>
> % svn co http://varnish.projects.linpro.no/svn/tags/varnish-2.0.4
> % cd varnish-2.0.4/varnish-cache
> % dpkg-buildpackage

Actually, this seems to be working. I think you need to do this:

% apt-get update
% apt-get install subversion autotools-dev automake1.9 libtool
autoconf libncurses-dev xsltproc quilt
% svn co http://varnish.projects.linpro.no/svn/tags/varnish-2.0.4
% cd varnish-2.0.4/varnish-cache
% dpkg-buildpackage
% cd ..
% dpkg -i libvarnish1_2.0.4-6_i386.deb
% dpkg -i varnish_2.0.4-6_i386.deb

I think I'm close to getting it working as Yann suggested, but this
way seems a bit easier.

What do you guys think about putting something like this into the
wiki? I'm hoping to save someone the trouble I've been through when
they try to set Varnish up.

- Trevor


trevorturk at gmail

Oct 22, 2009, 7:35 PM

Post #7 of 7 (2467 views)
Permalink
Ubnuntu installation woes [In reply to]

2009/10/22 Trevor Turk <trevorturk at gmail.com>:
> 2009/10/22 Dag-Erling Sm?rgrav <des at des.no>:
>> Umm, how about:
>>
>> % svn co http://varnish.projects.linpro.no/svn/tags/varnish-2.0.4
>> % cd varnish-2.0.4/varnish-cache
>> % dpkg-buildpackage
>
> Actually, this seems to be working.

Thanks again for the help, everyone. I wrote a blog post that tries to
step through the steps I'm using to get Varnish cooperating with nginx
to run a Ruby app using Sinatra and Passenger. I know, it's a mouthful
:)

http://almosteffortless.com/2009/10/22/installing-varnish-with-nginx-passenger-and-monit-on-ubuntu-8-10-intrepid/

Any feedback is more than welcome.

- Trevor

Varnish dist RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.