LinuxQuestions.org
Review your favorite Linux distribution.
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 01-13-2011, 10:04 PM   #1
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Rep: Reputation: 45
Need guidance about some directives in Squid.


I have configured my basic squid proxy server and client machines are accessing it. I just take four steps .
In squid.conf file.

http_port 8080


acl our_networks src 192.168.1.0/24
http_access allow our_networks


visible_hostname localhost.localdomain

# squid –z

Without any roblem the client computer can access the web page by providing proxy server IP and port in the mozilla browser.

To optimize squid there are few more things which are disable

# cache_dir ufs /var/spool/squid 100 16 256
can I change it to as
Code:
cache_dir ufs /var/spool/squid 1024 16 256
# cache_mem 8 MB
can I change it to as
Code:
cache_mem 64 MB
and the last thing in my mind about download file size

# reply_body_max_size 0 allow all
can I change it to as
Code:
reply_body_max_size 10240000 allow all
please guide me.
thanks
garden
 
Old 01-14-2011, 08:14 AM   #2
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 246

Rep: Reputation: 53
Have a look this site: http://etutorials.org/Server+Adminis...ile+Reference/

That contains all the information you need.
It will work all three that you asked for.

I think the best way is to have a try for the new config.

Laz
 
1 members found this post helpful.
  


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
Need guidance for Hard disk partitions for squid server. gardenair Linux - Networking 2 01-13-2011 04:13 AM
squid guidance gardenair Linux - Newbie 7 12-24-2010 11:22 PM
assembly language directives ashlesha Programming 2 07-03-2006 09:20 PM
about some directives used in c wangjinyi Programming 1 11-22-2005 06:16 AM
GRUB Directives for Slackware 10.1 RJEmery Linux - Newbie 6 04-19-2005 07:57 PM

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

All times are GMT -5. The time now is 08:22 AM.

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