[squid-users] How to upgrade correctly?

ngtech1ltd at gmail.com ngtech1ltd at gmail.com
Mon Aug 28 18:01:38 UTC 2023


Hey Gabriel,
 
The first thing before doing anything at all is to backup your binaries and configuration files.
Then try to plan a way that will allow you to fall back to the older version if anything will turn bad.
If you can test on a VM the installation process before production it would be the best way to make sure everything will go smooth
and as expected.
 
I believe that you will be able to just override the current squid installation if it will build fine.
Just make sure that the squid instance/service is not running while you are installing the new version.
 
If you have more specific questions feel free to ask.
 
Eliezer
 
 
From: squid-users <squid-users-bounces at lists.squid-cache.org> On Behalf Of Service MV
Sent: Monday, August 28, 2023 16:32
To: Squid Users <squid-users at lists.squid-cache.org>
Subject: [squid-users] How to upgrade correctly?
 
Hello everyone.
I have currently installed SQUID 5.8 compiled from source on Debian 10.5.
I want to upgrade to the latest stable version, 6.2.
What is the recommended way to upgrade to a new version? Should I uninstall the old version first? Or do I compile the new one and it overwrites the old one?

Thank you very much for any help you can give me.

My configuration:
./configure --includedir=/include \
--mandir=/share/man \
--infodir=/share/info \
--localstatedir=/opt/squid/var \
--disable-maintainer-mode \
--disable-dependency-tracking \
--disable-silent-rules \
--enable-inline \
--enable-async-io \
--enable-storeio=ufs,aufs,diskd \
--enable-removal-policies=lru,heap \
--enable-delay-pools \
--enable-cache-digests \
--enable-underscores \
--enable-icap-client \
--enable-follow-x-forwarded-for \
--enable-arp-acl \
--enable-esi--disable-translation \
--with-logdir=/var/log/squid \
--with-pidfile=/var/run/squid.pid \
--with-filedescriptors=65536 \
--with-large-files \
--with-default-user=proxy \
--enable-linux-netfilter \
--enable-ltdl-convenience \
--with-openssl \
--enable-ssl \
--enable-ssl-crtd \
--enable-snmp \
--disable-arch-native


make
make check
make install
 
 
--
Gabriel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20230828/46d80c90/attachment-0001.htm>


More information about the squid-users mailing list