Re: [squid-users] Another HTTP 1.1 Question

From: <dhottinger@dont-contact.us>
Date: Thu, 08 Mar 2007 19:38:01 -0500

Quoting Adrian Chadd <adrian@creative.net.au>:

> On Thu, Mar 08, 2007, dhottinger@harrisonburg.k12.va.us wrote:
>
>> If it was me I would do a cp on my current squid directory, then when
>> installing do a ./configure --someother directory. For example: if
>> squid is installed in /var/squid you could install the new version in
>> /usr/local/squid. Doing a ./configure --help will give you the exact
>> options. Then after installing you can either edit the new squid.conf
>> to suit, stop your old squid and start new squid with a ./squid -z to
>> build the cache directorys and then do a ./squid. If everything goes
>> south, then you can go back to your old version and figure out why the
>> new one didnt work.
>
> I normally do this:
>
>
> ./configure --prefix="/usr/local/squid-VERSION"
> make
> make install
> cd /usr/local
> rm squid (its a symlink!)
> ln -s squid-VERSION squid
> cp /path/to/normal/squid.conf /usr/local/squid-VERSION/etc/squid.conf
>
> That way I can have multiple squids installed to try but have my init
> script only start /usr/local/squid/sbin/squid .
>
>
>
>
> Adrian
>
Cool. Yep. Works very well. Sort of the same thing only more elegant.

-- 
Dwayne Hottinger
Network Administrator
Harrisonburg City Public Schools
Received on Thu Mar 08 2007 - 17:38:14 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:01 MDT