LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-12-2004, 10:55 AM   #1
mfeoli
Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 92

Rep: Reputation: 15
I need to upgrade to a recent Squid version, I need a Step by step procedure


Hi all

This another newbye question,

We have a machine with Squid, but people at our office is not being consious of bandwidth.

We found out the latest Squid has a "delay pools" feature to somewhat "balance" bandwidth.

Can anyone point me out a step by step procedure to upgrade to the new version of squid?

thanks
 
Old 01-12-2004, 02:16 PM   #2
graffitici
Member
 
Registered: Jun 2003
Location: Istanbul - Turkey
Distribution: Fedora, Gentoo
Posts: 150

Rep: Reputation: 15
First of all you'll need to download the new version of Squid.
From the research I have done, they only publish the source, and thus don't have binaries.
After downloadling it you should extract the .tar.gz files.
tar -zxvf file.tar.gz
then go to the extracted directory
cd file

configure:
./configure

compile:
make

and install ( you need to be root, so first type su):
make install

This should copy the program files. However I do not know whether your old settings would still be available.
 
Old 01-12-2004, 06:03 PM   #3
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
Before installing the new version, copy the squid.conf file to another location. Then uninstall the old version of squid (rpm -e squid if rpm-based), then proceed with the new squid installation. When you are done you can use the settings from your old squid.conf file and make any changes you need from there. It is nice to start from a working squid.conf and modify it from there.
 
Old 01-14-2004, 10:04 AM   #4
mfeoli
Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 92

Original Poster
Rep: Reputation: 15
Thanks a lot for your help guys,

just another newbie question, is the process, configure/make/make install
a standard process among other sofware, (or particular to squid)

just to know where I shall record it.
 
Old 01-14-2004, 10:14 AM   #5
graffitici
Member
 
Registered: Jun 2003
Location: Istanbul - Turkey
Distribution: Fedora, Gentoo
Posts: 150

Rep: Reputation: 15
No it is a general procedure. When you need to compile software you'll practically always use this combination.
Sometimes though you may have to use additional arguments with ./configure. The only way to learn those is to consult the INSTALL file.
On some other occasions the programmers includes scripts to test your compiled software to see if they work or if some parts are missing. Although it is not obligatory, you may run these tests by typing
make check
after make.
If they do not fail you can go ahead with make install
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid step by step abhishekgedam Linux - Networking 3 11-26-2005 06:04 AM
Step by step procedure in replacing Red Hat 9.0 by Ubuntu in my dual boot XP/linux charliemerleau Linux - Software 1 10-04-2005 01:12 AM
Easy step by step Guied for Squid mobassir Linux - Software 15 05-22-2004 03:05 AM
Step-by-step Apache upgrade Instructions?? where to get Mike_Toth Linux - General 5 05-08-2003 02:22 PM
Step-by-step procedure to make a Live CD? kRu_ZaDeR Linux - General 3 03-28-2003 09:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration