Configuring SQUID in GUI ! is that possible?

General discussion about Linux, Linux distribution, using Linux etc.

Configuring SQUID in GUI ! is that possible?

Postby zeeshan Hussain » Thu Dec 25, 2003 12:59 am

AOA Pals,

The other day some one told me to use SQUID,coz thats much better that MS ISA.
but the problem is , how can i configure it?

can any one help me with a link leading to teach SQUID configuration from the scratch.
Awaiting for ur helping replies.
zeeshan Hussain
Lance Naik
 
Posts: 28
Joined: Tue Sep 02, 2003 1:16 am
WLM: zeeshanhussain@pakistanmail.com
Yahoo Messenger: zeesh_tas@yahoo.co.in
Location: Karachi

Squid is Better Than ISA

Postby ather_36 » Thu Dec 25, 2003 1:25 am

Salam Brother,
For GUI configuration plz try Webmin.OR IF u want to configure squid manually than u Edit this File /etc/squid/squid.conf.
If u need any web help than u type this URL
1)http://www.squid-cache.org
OR
This one 2)http://squid.visolve.com/squid24s1/contents.htm
Here, u see full configuration of squid proxy server.The 2nd url is the direct page of squid configuration.
Thanx
Ather Hussain
Premier System Pvt Ltd
ather_36
Naik
 
Posts: 97
Joined: Thu Jul 31, 2003 11:38 am
Website: http://www.linuxpakistan.net
WLM: ather_36@hotmail.com
Yahoo Messenger: ather_36@yahoo.com
Location: karachi

Postby kernel-trap » Thu Dec 25, 2003 3:18 pm

here is Quickstart guide incluled in squid source

Squid QUICKSTART

$Id: QUICKSTART,v 1.4.2.4 2003/07/18 08:53:27 hno Exp $

This document is intended only for people who want to get Squid running
quickly It is not a substitute for the real documentation. Squid has
many features, but only a few of them are useful at the beginning. Use
this only if you have quite a simple setup.

After you retrieved, compiled and installed the Squid software (see
INSTALL in the same directory), you have to configure the squid.conf
file. This is the list of the values you *need* to change, because no
sensible defaults could be defined. Do not touch the other variables
for now. We assume you have installed Squid in the default location:
/usr/local/squid

Uncomment and edit the following lines in /usr/local/squid/etc/squid.conf:

==============================================================================

cache_peer, never_direct/always_direct

If you have a parent cache, put it here. The administrators of the
parent cache typically provided you with instructions. You should
always ask permission before adding a parent cache. See also the
never_direct/always_direct directives.

cache_dir /usr/local/squid/var/cache 100 16 256

Add here (first number, here 100) the amount of hard disk space
(in megabytes) to devote to caching.

acl, http_access, icp_access

Access control lists. This is important because it prevents people
from stealing your network resources. To fill in the
"allowed_hosts" ACL, use your network address (for instance
192.168.10.0 and your network mask (for instance 255.255.255.0):

acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl all src 0.0.0.0/0.0.0.0
acl allowed_hosts src 192.168.10.0/255.255.255.0

http_access deny manager all
http_access allow allowed_hosts
http_access deny all

icp_access allow allowed_hosts
icp_access deny all

cache_mgr

Put here the e-mail address of the manager:

cache_effective_user

If you must start Squid as root, find a safe user and group to run
as after startup (typically "nobody" and "nogroup"). Do not use
"root", for security reasons.

visible_hostname

The host name you advertise for the cache.

==============================================================================

After editing squid.conf to your liking, run Squid from the command
line TWICE:

% /usr/local/squid/sbin/squid -z
% /usr/local/squid/sbin/squid

Check in the cache.log (/usr/local/squid/var/logs/cache.log) that
everything is all right.

Once Squid created all its files (it can take several minutes on some
systems), test it with echoping or a regular Web client. By default,
your Squid will run on port 3128. See the Squid FAQ for more details.

Once you have Squid working from the command line, tell your Unix to
start Squid at startup (it depends heavily on the Unix you use, you'll
typically have to modify something in a /etc/rc_something).

This quick start file written by: Stephane Bortzmeyer and Duane
Wessels.

##########################
kernel-trap
Havaldaar
 
Posts: 105
Joined: Thu Dec 25, 2003 2:31 pm

Re:

Postby LinuxFreaK » Thu Dec 25, 2003 8:05 pm

Dear Zeeshan Hussain,
Salam,

But Offcource, you can do this with,
Webmin is a web-based interface for system administration for Unix. Using any browser that supports tables and forms (and Java for the File Manager module), you can setup user accounts, Apache, DNS, file sharing and so on.
Webmin consists of a simple web server, and a number of CGI programs which directly update system files like /etc/inetd.conf and /etc/passwd. The web server and all CGI programs are written in Perl version 5, and use no non-standard Perl modules. For more information check out http://www.webmin.com

Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi


Return to “%s” General

Who is online

Users browsing this forum: No registered users and 3 guests

cron