Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-10-2006, 11:12 PM   #1
LQ Newbie
Registered: Dec 2006
Posts: 1

Rep: Reputation: 0
SQUID on Redhat 9.0

Hello, I have been everywhere, looking to see how i would go about using and configuring SQUID.

I have looked at the squid cache site, i have looked on google.. I'm going crazy with looking for this.. and how to's that NEVER explain exactly what im looking for..

IF anything im a visual learner, and cannot read this "gubble".. eitherway, is there someone out there on these forums that know how to run this program and who will bve willing to talk to me, and / or help me.

I will offer webhosting or anything.. for the help. As i really need to learn how to!

Thanks alot.. Hope to hear from you.
Old 12-11-2006, 01:46 AM   #2
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,710

Rep: Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520
If you can upgrade, I thoroughly recommend it.
RH9 is very old & no longer supported.
If you like RH products, consider their latest free Linux RH Fedora Core v6 (in other words it's 6 versions beyond RH 9).
It'll make it much easier to get help/appropriate versions of SW.
Old 12-11-2006, 04:09 AM   #3
Registered: Jan 2006
Location: Chennai, Tamil nadu, India
Distribution: Debian Etch Testing
Posts: 117

Rep: Reputation: 16
This gives a neat guide.

if u need more help.
ask here.

Old 12-11-2006, 06:05 AM   #4
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: Linuxmint, Slackware
Posts: 356

Rep: Reputation: 34
Using this very minimum setup in squid.conf, you can make squid run. squid.conf is grouped accordingly and the first line below is what would be needed setup. By scrolling down through squid.conf, you will find where each line should belong. For the mean time you tried this settings first and post if there are still problems and squid.conf is usually in /etc/ or /usr/local/etc/.

http_port 192.168.0.x:3128

acl my_net src
http_access allow my_net localhost

If this is the first time you installed squid, it needs to create its cache directories.

# /usr/local/sbin/squid -z

Please do find where squid is located in your distro. It might be in /usr/sbin/ or /usr/local/squid/sbin/. The later if you installed squid from source. You may use 'find' or 'which' to look for it.

# which squid

# find /usr -name squid

Then after the cache dirs were created, simply run it directly using its full path as used with creating the cache but without -z option. Or use your distro's provided startup script. It is I'm sure in /etc/init.d/.

To check if squid started normally, use netstat utility. But please do check its options with you because the one I'm using works both in Slack and OpenBSD.

# netstat -lnp tcp |grep 3128

Or it might be 'netstat -ln -proto tcp'.

Another way of checking if squid has no problem starting is to consult its cache.log file. I'm not using squid in any Linux distro but in OpenBSD only and it is here installed in '/var/squid/logs/cache.log'. So it is up for you to figure out.

# cat /var/squid/logs/cache.log

By throughly reading the log, you can tell of what went wrong in squid.

This I believe is the most minimum settings and there are still to be added to make it a transparent proxy/caching and in accelerator mode. But this would already make you go for it and have it tested.

Then in you clients proxy browser settings just indicate the IP address and the port where you bind squid. Then if you are already familiar with iptables, use it to redirect all outgoing web requests from your LAN in order not to let them browse the internet without passing through squid. Unfortunately, I can't help you on this since I don't use Linux as firewall and I'm only familiar with OpenBSD/PF.



computer, faq, forums, google, help, network, please, router, server, squid, wow

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
Redhat 9.0 Proxy [squid] nbaloch Linux - Networking 9 02-22-2007 11:56 PM
how to forwrd squid on redhat procfs Linux - Software 0 05-22-2006 05:53 AM
delay_pools + squid RedHat mazharkhan Red Hat 1 12-15-2005 03:59 AM
Redhat 9.0 Proxy [squid] nbaloch Member Intro 1 02-18-2005 08:59 AM
RedHat 9 squid proxy mosdgte Linux - Software 6 11-05-2003 03:43 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration