LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
LinkBack Search this Thread
Old 12-10-2006, 10:12 PM   #1
pcmxkeith
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, 12:46 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5
Posts: 16,086

Rep: Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994
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).
http://fedora.redhat.com/
It'll make it much easier to get help/appropriate versions of SW.
 
Old 12-11-2006, 03:09 AM   #3
tshrinivasan
Member
 
Registered: Jan 2006
Location: Chennai, Tamil nadu, India
Distribution: Debian Etch Testing
Posts: 117

Rep: Reputation: 16
This gives a neat guide.
http://www.linuxhomenetworking.com/w...ess_with_Squid

if u need more help.
ask here.

T.Shrinivasan.
 
Old 12-11-2006, 05:05 AM   #4
gani
Member
 
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: OpenBSD, Slackware, XP
Posts: 347

Rep: Reputation: 31
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 192.168.0.0/24
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.

-----------
GANI
 
  


Reply

Tags
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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat 9.0 Proxy [squid] nbaloch Linux - Networking 9 02-22-2007 10:56 PM
how to forwrd squid on redhat procfs Linux - Software 0 05-22-2006 04:53 AM
delay_pools + squid RedHat mazharkhan Red Hat 1 12-15-2005 02:59 AM
Redhat 9.0 Proxy [squid] nbaloch LinuxQuestions.org Member Intro 1 02-18-2005 07:59 AM
RedHat 9 squid proxy mosdgte Linux - Software 6 11-05-2003 02:43 PM


All times are GMT -5. The time now is 04:48 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