LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-02-2011, 04:37 AM   #1
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Rep: Reputation: 45
How to enable delay pools


Hi,
I have install squid 2.6 in my cent os 5 system. The proxy server is working perfect using the following method.
Code:
[root@localhost squid-2.6.STATBLE22]#  ./configure@--prefix=/usr/local/squid
I want to enable delay pools feature in it.For that purpose I do as following
Code:
[root@localhost squid-2.6.STATBLE22]# ./configure --enable-delay-pools && "configuration successful"
The question is should I configure it as i do it for squid ./configure --enable-delay-pools--prefix=/usr/local/squid

2- to enable delay pools may I need the correction in the steps which I have taken.
[root@localhost squid-2.6.STATBLE22]#make

[root@localhost squid-2.6.STATBLE22]# make install

In short to enable delay pools may I just use
# ./configure --enable-delay-pools
then
#make
#make install


kindly guide me
garden
 
Old 04-03-2011, 03:30 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Quote:
I have install squid 2.6 in my cent os 5 system. The proxy server is working perfect using the following method.
Code:

[root@localhost squid-2.6.STATBLE22]# ./configure@--prefix=/usr/local/squid
For a basic configuration like that, you could use your distro's squid package


Quote:
The question is should I configure it as i do it for squid ./configure --enable-delay-pools --prefix=/usr/local/squid
Yes, but better have a look here for the options needed


After running the ./configure script with the options you've selected to enable, you should run "make" and as root "make install"
Note that if you want to recompile the sources, you must run "make distclean" or "make clean" to remove the previous compiled stuff

Regards
 
Old 04-03-2011, 11:32 PM   #3
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
thanks "bathory" for your kind reply. Well at the moment my squid is running and the clients are accessing net. For time without any problem I can stop my squid machine for 30 minutes or one hour. In this situation to enable delay pools I may use make distclean or make clean and then again compile squid ? Technically what you suggest me.
thanks
garden
 
Old 04-04-2011, 02:34 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Technically speaking I'll do any tests on a test box and when everything is sorted out I'd do the same in the live box. Note that you need to edit also squid.conf if you want to implement delay pools.
If you don't have a spare box, you can extract the squid sources in a new directory (so you'll keep your original sources intact), run ./configure with the options used by the current running squid plus the options needed for delay pools and then "make". Then edit squid.conf to add the configuration directives for delay pools. after making a backup of the current squid.conf.
When you can stop squid from running, run "make install", do your tests and if something goes wrong, go back to the original sources directory, run "make install" there and you will get back your current squid.

Regards
 
  


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
[SOLVED] Squid delay pools baig Linux - Newbie 7 08-16-2016 02:44 AM
Delay Pools z_haseeb Linux - Newbie 1 06-26-2008 01:42 AM
Delay Pools zmunawar1 Linux - Server 2 06-19-2008 02:07 PM
Squid delay pools suhas! Linux - Server 1 12-01-2007 12:49 PM
delay pools csdhiman Linux - Server 1 03-22-2007 03:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:07 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