What're the essential configurations needed to get a basic Squid running?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
> Can anyone provide a quick-start guide to setup a basic Squid?
There is not that much for a basic setup in squid.conf:
- specify where the squid cache is,
- specify where the logfiles are, if any (access.log, cache.log)
- allow access from your intranet by an appropriate acl rule.
And you are done.
However, do not forget to initialize the squid cache by running squid with the -z option the first time you start it (but squid will warn you if you forget it).
Do not forget that squid will only start if you have a working internet connection, unless you start it with the correct option to disable dns lookup at startup.
> Also, is a DNS required in the intranet for Squid to run properly?
It is not a must, if you have some working dns server IP addresses in /etc/resolve.conf.
However, it may speed you up if you have a local dns server, or at least a dnscache.
and i use INSERT YOUR OWN ROOL
acl heartnet src 192.168.16.1/255.255.255.0
acl user1 src 192.168.16.23
acl usertime time 09:00-10:00
http_access allow heartnet
http_access allow user1 usertime
http_access deny user1
http_access deny all
acl usertime time 09:00-10:00 is wrong syntax, correct it to
acl usertime D 09:00-10:00
And the last ACL is deny all, so no need to http_access deny user1
thank jiawj to reply,but not apply, maybe its work,
hi i want istall upadte version squid,i want update by yum,i uninstall yum,but how is install newer version yum,from internet,if update squid then need change of my existent squid conf. file
I use fedora core 4, kernel-2.6.11-1.1369_FC4,and squid-2.5stable9-7,and i am use transparent proxy
dear brother jiawj!
can u send me the squid.conf complete configuration file. i have running my network using these ip addresses, 192.168.1.1 to 192.168.1.254.
i m new to use linux. and want help of you. plz help me to setup my network and also internet sharing with squid proxy. i will be very thank ful to you.