|
| |||||||||
Squid is web caching and conserving badwidth application. With Squid, we will reduce the traffic 30% or more from normal usage (without squid) and enhance respone time. In here, i will use squid 2.7.STABLE3. # tar zxvf squid-2.7.STABLE3.tar.gz Explanation :
--enable-delay-pools - Enable delay pools to limit bandwidth usage. You need to enable the option in order to use Squid to limit bandwith usage. It will give fair bandwith usage for everybody. In my case, I don't want one person sucking all of the available bandwidth by downloading a big movie, causing others to suffer. --enable-ipf-transparent - Enable Transparent Proxy support for systems using IP Filter network address redirection. With this option, you don't have to configure the client's browser proxy setting. Also it is a good way to force the client to use the proxy everytime. --enable-storeio=diskd,ufs - Enable diskd Improve disk I/O performance. According to the Squid FAQ, if you enable diskd you can gain a 400% increase of perfomance. However, you would need to recompile the kernel because your operating system must support message queues and shared memory. --enable-removal-policies - Build support for the list of removal policies. By default, Squid uses LRU, but there are two better policies: GDSF and LFUDA. See the Squid config for a more detailed explanation. --disable-ident-lookups - This allows you to remove code that performs Ident (RFC 931) lookups. Not really important. By the way, if you do transparent proxy, ident lookups won't work. --enable-snmp Optional: enable this and you can monitor Squid with mrtg or rrdtool. How to do this is outside of this article's scope. Perhaps in my next one. Edit Squid Configuration file in /etc/squid/squid.conf Here the example of squid.conf : #Transparent Proxy Create and configure cache directory, swap, and log file # mkdir -p /var/squid/logs Configuring pf.conf for Transparent Proxy #add this line after nat : Create script for squid start-up: #!/bin/sh # By No Fee (c) 2007 case "$1" in
Bookmark
Email This
Hits: 9827 Trackback(0)
Comments (7)
![]() written by cesz, April 22, 2009
Boleh tanya penulisan format untuk download-file dan download-spesial, syukur2 kalau bisa di share sekalian file2 tersebut. terima kasih sebelumnya
report abuse
vote down
vote up
Votes: +0
written by tiar27, April 15, 2009
makasih infonya ge liat2 aja dulu masih bingung
report abuse
vote down
vote up
Votes: +0
written by Facepalm, March 27, 2009
Very useful files search engine. myrapida.com is a search engine designed to search files in various file sharing and uploading sites.
report abuse
vote down
vote up
Votes: +0
written by No Fee, August 23, 2008
@Vlad GURDIGA
There is no problem how to install squid on freebsd we can use ports or we can compile squid manually. But as i know, you can customize your configuration with manual compile. With compile manually, you can more easy to upgrade when you need upgrading squid. Thanks report abuse
vote down
vote up
Votes: +0
written by Vlad GURDIGA, August 23, 2008
A note about compiling: porters' effort seem wasted. Isn't is simpler to:
# cd /usr/ports/www/squid30 # make install clean instead of downloading it from the web-site and compile manually? report abuse
vote down
vote up
Votes: +6
written by No Fee, August 22, 2008
Sorry for my mistake.
The link is updated now. Thank you report abuse
vote down
vote up
Votes: +2
written by FreeBSD News, August 22, 2008
"You can download Squid from here. After you download the source of squid..."
There's no link to the pkg file report abuse
vote down
vote up
Votes: +2
Write comment
|
| Content View Hits | 85.867 |