Quoting Adrian Chadd <adrian@xxxxxxxxxxxxxxx>:
On Thu, Mar 08, 2007, dhottinger@xxxxxxxxxxxxxxxxxxxxxx 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