LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to enable delay pools (https://www.linuxquestions.org/questions/linux-networking-3/how-to-enable-delay-pools-872546/)

gardenair 04-02-2011 04:37 AM

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

bathory 04-03-2011 03:30 AM

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

gardenair 04-03-2011 11:32 PM

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

bathory 04-04-2011 02:34 AM

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


All times are GMT -5. The time now is 10:45 PM.