Adding foll to squid.conf helps reducing logs ..
---------------------------------
debug_options ALL,1
cache_store_log none
cache_access_log /dev/null
---------------------------------

Try using Mandrake 9.0 and have truly min install [install size < 75 MB]

Even a low config machine works fine for a cybercafe setup.

Shekhar

>>
> modify your squid.conf (/etc/squid/squid.conf)
>
> #------------cut here
> http_port [squid.machine.internal.ip:]80
> acl all src 0.0.0.0/0.0.0.0
> http_access allow all
> icp_access allow all
> cache_effective_user squid
> cache_effective_group squid
> positive_dns_ttl 1 month
> negative_dns_ttl 1 minute
> httpd_accel_port 8080
> httpd_accel_with_proxy on
> httpd_accel_uses_host_header on
> cache_dir ufs /var/spool/squid 500 16 256
> #------------till here
> squid -z
> service squid restart
> #-----
> open your local machines browser options
> setup browser to contact proxy
> squid.machine.internal.ip:80
> #------
>
> If you need messengers or pop clients (outlook) to work through this linux
> box, then you need to setup ip forwarding
> and run a caching dns server also
>
> edit the /etc/rc.d/rc.local file and add
>
> #---------- from here
> echo 1 > /proc/sys/net/ipv4/ip_forward
> iptables -t nat -A POSTROUTING -o <interface connected to internet> -j
> MASQUERADE
> #---------- to here
>
> if you are using dialup to internet, then
> [ <interface connected to internet> = ppp0 ]
>
>
> Jiju Thomas Mathew
>
>




-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to