Re: [squid-users] Question about upgrading.

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 13 Jun 2011 15:05:04 +1200

 On Sun, 12 Jun 2011 10:53:18 -0400, Farokh Irani wrote:
> Right now we're running 3.1.6 and I'd like to upgrade to 3.1.12.2.
> What I'd like to do is to save the current version of squid, just in
> case. What do I need to save? I'm running on Ubuntu, and the only
> version that I can (apparently) get using aptitude is
> 3.0.STABLE19-1ubuntu0.1, so I can't use that to just get 3.1.6, which
> was installed as part of another pkg.
>
> So, I'd like to archive the current version so I can put it back up
> is I run into a problem.
>
> Thanks.

 Squid binaries within a series are drop-in replaceable.

 On Ubuntu the main binary is /usr/sbin/squid3 or /usr/sbin/squid.
 If you are worried about the helpers, they are in /usr/lib/squid3/ or
 /usr/lib/squid/

 Take a backup. Recovery is as simple as moving/copying the backed up
 binary over top of the test one.

 NP: if your 3.1.6 was a custom install they may have other binary
 locations, same process though.

 To upgrade with a custom build, just "squid -v" to find the path
 settings (feature enable/disable and flags variables are all optional).
 Make sure the paths are teh same though. Then in the sources configure
 and 'make install". restart squid and viola`.

 FYI: squid-3.1.12.* are known not to build with openssl 1.0.0 yet. You
 will need openssl 0.9.8 for now if you want the ssl-crtd feature.

 Amos
Received on Mon Jun 13 2011 - 03:05:07 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 13 2011 - 12:00:02 MDT