Re: [squid-users] How to install Two Squids on the same FreeBSD box?

From: Joe Cooper <joe@dont-contact.us>
Date: Fri, 31 May 2002 19:08:09 -0500

Do you need two different sets of compilation options, or will one
binary do?

I always just run multiple configurations off of the same binary. You
need to select different conf files from the command line, and each
specifies different ports, PID file, log files, and cache directories.

Edgard Haddad wrote:
> Hi Aaron,
>
> Actually it's true what you mentioned; it's a system dependent
> limitation, not squid's. In fact, I edited the makefile and added under
> the configure options "--prefix=/usr/local/squid2" but when I run the
> "make install", it gives out that Squid is already registered as
> installed.... Any way to override this?
>
> Thank you,
>
> -----Original Message-----
> From: Aaron Seelye [mailto:AaronS@et-n-m.com]
> Sent: Saturday, June 01, 2002 12:26 AM
> To: Edgard Haddad; squid-users@squid-cache.org
> Subject: RE: [squid-users] How to install Two Squids on the same FreeBSD
> box?
>
> Hi,
>
> You're running into a ports limitation, not a squid limitation. One
> possible work around for this is to install one via ports (as it sounds
> you
> have), and another directly from the source under a different prefix
> than
> /usr/local (I'd suggest /usr/local/squid). You must be sure to either
> have
> them listen on differnent interfaces, and/or different ports as well.
>
> Aaron Seelye
>
>
>>-----Original Message-----
>>From: Edgard Haddad [mailto:edgard.haddad@sps.net.sa]
>>Sent: Friday, May 31, 2002 2:13 PM
>>To: squid-users@squid-cache.org
>>Subject: [squid-users] How to install Two Squids on the same FreeBSD
>>box?
>>
>>
>>Hello,
>>
>>Does anyone know how to install and run two copies of Squid-2.4 on the
>>same FreeBSD 4.5 box?
>>I'm using Squid as a content director. It routes requests to parent
>>caches depending on the content of the request. So no caching
>>is made at
>>all.
>>Actually I've built a test machine and installed the first
>>copy but the
>>second refuses to install since the first one is registered...
>>
>>Thank you,
>>Edd
>>
>>
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.362 / Virus Database: 199 - Release Date: 5/7/2002
>
>

-- 
Joe Cooper <joe@swelltech.com>
Web caching appliances and support.
http://www.swelltech.com
Received on Fri May 31 2002 - 18:09:20 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:18 MST