LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 04-21-2010, 01:55 AM   #1
salimshahzad
Member
 
Registered: Dec 2009
Posts: 200

Rep: Reputation: 15
squid proxy with ubuntu internet fast speed browsing technique


dear sir,

i do have new testing proxy setup done base on ubuntu 8.04lts using squid proxy. i try to use squid proxy and bellow setting. can someone identify is this correct parameters or help to boost internet browsing speed.
===============================================================
acl internal_network src 192.168.1.0/24
http_access allow internal_network
visible_hostname proxy90
cache_mem 256 MB
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
http_port 192.168.1.10:3128 transparent
===============================================================
but when i restart it give me following error

2010/04/21 02:50:41| parseConfigFile: line 5 unrecognized: 'httpd_accel_host virtual'
2010/04/21 02:50:41| parseConfigFile: line 6 unrecognized: 'httpd_accel_port 80'
2010/04/21 02:50:41| parseConfigFile: line 7 unrecognized: 'httpd_accel_with_proxy on'
2010/04/21 02:50:41| parseConfigFile: line 8 unrecognized: 'httpd_accel_uses_host_header on'
2010/04/21 02:50:41| WARNING cache_mem is larger than total disk cache space!

can someone help to resolve errors,
regards
 
Old 04-21-2010, 04:52 AM   #2
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,896

Rep: Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774
don't get you hopes up too high for a chalk-and-cheese change in browsing speed, however:

Quote:
Originally Posted by salimshahzad View Post
acl internal_network src 192.168.1.0/24
http_access allow internal_network
visible_hostname proxy90
cache_mem 256 MB
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
http_port 192.168.1.10:3128 transparent
anything to do with httpd_accel is not what you want; this is for using squid as an http daemon accelerator for web pages which are served from your site to browsers of that internal site. You are trying to do the reverse, and
  • I don't know if the two are compatible in one squid installation
  • Your build of squid may not be capable of it anyway (there are many build options for squid which make it less capable, but lighter)

This is not your whole squid.conf, is it? That is normally quite a long file.
 
Old 04-21-2010, 05:01 AM   #3
salimshahzad
Member
 
Registered: Dec 2009
Posts: 200

Original Poster
Rep: Reputation: 15
dear sir

as i am beginner u know already, rest the file is very long but i put on top of the file basic options. so point out which is not use or advisable?
 
Old 04-21-2010, 06:12 AM   #4
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Rep: Reputation: 102Reputation: 102
httpd_accel options are out-of-date. That's why they give errors. A lot of online guides still refer to them being used to enable intercepting proxying (commonly but wrongly called 'transparent' proxying).

In your case, if this is just for a single machine you won't need that function. But if this is for a single machine then what you're doing is unlikely to help browsing speed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
my centos proxy server n ubuntu LAN pc,s have suddenly reduced the internet speed, wanjma Linux - Newbie 1 10-21-2008 10:58 AM
Set up my network, configured firefox for my proxy, still no internet browsing! foolio1990 Linux - Newbie 10 09-03-2008 03:24 PM
DNS / Squid / iptables / proxy / browsing error mcphilbrick Linux - General 0 08-21-2007 11:17 AM
Fast, Slow, and No Go Internet Browsing VCore5.0 Linux - Networking 12 02-22-2005 12:03 PM


All times are GMT -5. The time now is 07:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration