[squid-users] Re: How to upgrade a running Squid 3.1.12 to a newer version ? (SLES 11)

From: babajaga <augustus_meyer_at_yahoo.de>
Date: Sat, 25 Jan 2014 01:24:36 -0800 (PST)

Used zypper only a few times, long ago. More used to yast on SuSE 11.x . Do
you also have yast available ?
If not, try to install the package. Then you should be able first of all to
remove current squid.
If no yast, you will need to use zypper -help or google for the correct
zypper cmd to remove current squid.

You might make a backup-copy of /etc/init.d/squid to a temp_dir. To use it
later on for new squid.

When this is done, then you should be able to generate squid from src.
Download the source from www.squid-cache.org to /tmp, for example.

cd /tmp
wget
http://www.squid-cache.org/Versions/v3/3.1/squid-3.1.23-20130721-r10487.tar.gz
tar zvfx squid-3.1.23-20130721-r10487.tar.gz
cd squid-3.1.23-20130721-r10487
./configure
make
make install

The defaults do not correpond to SuSE, so you will have to edit
/usr/local/squid/etc/squid.conf

Maybe
mkdir /usr/local/squid/var/logs #If it not exists
chown nobody /usr/local/squid/var/logs
mkdir /usr/local/squid/var/cache
chown nobody /usr/local/squid/var/cache

And then setup the cache
cd usr/local/squid/sbin
squid -z -f /usr/local/squid/etc/squid.conf #Athough -f .... should be
default
Finally start squid for a test
./squid

In case of any problem, first have a look at /usr/local/squid/logs/cache.log
for any info.
Most likely, a priviledge problem, or missing directory, which needs to be
created first.

MfG
(Usually DE; now in the land of smile !)

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/How-to-upgrade-a-running-Squid-3-1-12-to-a-newer-version-SLES-11-tp4664449p4664450.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Sat Jan 25 2014 - 09:25:18 MST

This archive was generated by hypermail 2.2.0 : Sat Jan 25 2014 - 12:00:06 MST