LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices


Reply
  Search this Thread
Old 12-13-2003, 02:08 AM   #1
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Rep: Reputation: 30
Thumbs up Easy step by step Guied for Squid


hello

Every one, i was working on squid few day before . and before this i tried for Microsoft ISA server but that never work for me, during searching help for squid i find a good link for Isa "http://www.isaserver.org/tutorials/quickstart.html" and i download isa server quick start guied written by Thomas W. Shinder, M.D. which is realy very nice written, the writer cover almost all topic related for basic internet sharing , for example he devided topic in 5 steps

STEP 1:
Configure the network interfaces
STEP 2:
Install and configure a DNS server on the ISA Server 2000 firewall computer
STEP 3:
Install and configure a DHCP server on the ISA Server 2000 firewall computer
STEP 4:
Install and configure the ISA Server 2000 software
STEP 5:
Configure the internal network computers as DHCP clients

now please comes back on Squid topic, me and alots of other who realy wants to work on linux platforme becouse of its stability need this kind of Quick strat guied for Squid , which should cover all related (like dns dhcp, internal and external interface) and basic topic which requier for squid to its best performance in less time, if some one start Squid will autometicly work for its advance features.
There are must be very expert members in this forum for squid , i request all for u to read that ISA quick start guied to find a best and better way to write quick start guied for Squid. And want suggestions from all of them is that a good way to support linux and makes populer its produts. i am not very expert in linux just started work under linux regulerly few months ago, and evry time i solved any problem or done some good work i type and post its step by step guied for other who still looking for that topic.

Thank you very much for all who realy read this psot.
is there already any good squid quick start guied please suggest me.

i am sure evry one who will read this will reply and try make alive this post
 
Old 12-15-2003, 10:24 AM   #2
conceptx
Member
 
Registered: Dec 2003
Distribution: Slackware 10, Windows XP Pro
Posts: 33

Rep: Reputation: 15
Squid

I am trying to learn how to setup and run both squid and apache but there seems to be so little "straight forward" help anywhere and one of my destination on my quest for help ended me here. It is really a disappointment that no one has responded to this post and I guess we are all too busy. I would really like to support this post ans sofar here is the help I go on Squid, I made sure I get it from this same forum before resorting to anywhere else and I hope it help for those looking for help on Squid. Please support this I guess there is so many of us " " looking for it.
 
Old 12-15-2003, 10:05 PM   #3
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Rep: Reputation: 46
The documentation at squid-cache.org is a good start for most configuration options. I have been meaning to write a good how-to on squid for a long time, but have been far too busy as of yet. Get the networking issues figured out first, it will save you a lot of troubleshooting Squid when it may not be the issue. The best instructions I have found for squid setup are in the O'Reilly book Squid. I was tasked with admining two squid servers as my first job and that book + google + LQ made it a lot easier. There are a few of us here who use squid extensively and will be happy to try to answer any questions you may have if the need arises.
 
Old 12-16-2003, 02:43 AM   #4
conceptx
Member
 
Registered: Dec 2003
Distribution: Slackware 10, Windows XP Pro
Posts: 33

Rep: Reputation: 15
Thanks Pcghost

Thanks Pcghost
This sounds good for me because I am about to take-on some squid server.
Ta
 
Old 12-16-2003, 05:53 AM   #5
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Original Poster
Rep: Reputation: 30
Hello

thank you very much for this quick and positive reply, yes you are right thats its hard to write compelete how to of squid , but this is not impossible task, i am working on squid and wil work for this step by step guied for those who new and faceing alot of problem for squid as i am strugling at this time.
but for those who are good in squid installation and configuration is not big task to help others

Ok i think we should strat this here first of all we should diceid its main Topics.

1- Planing
(a) Hardware Requirements
(b) Selecting Internet connection type (Dialup, Cable and dSl modem,
Via Sattlite, or behind another proxy)
(c) Selecting Redhat linux version
(d) Selecting Squid version
(e) Any other softawere or patch requiements

2- Installtion and configuration of Internel and External Network
interfaces as our snerio requierments (Dialup+ 1 lan card, 1 lan and
behind another proxy, 2 lan cards + cable and dsl modem , etc)
3- Installation or configuration of any other server or service like DNS,
DHCP etc
4- Getting Squid
(a) Dwonloading site and methord
(b) selecting directories for squid installation
5- Installing Squid
6- Compiling squid
7- Squid Configuration
(a) with default all open rule, but with best performance
(b) any other requiement before Running Squid
(c) starting Squid
(d) starting squid auto with boot time, (with its auto strat internet
connection)

This is not a standard of this basic step by step guied all of you are invited to improve this if i miss any point.

i know there alot of people that requierd this kind of help, please use your experties and start this projets

Thank again for all of you
 
Old 12-17-2003, 05:37 AM   #6
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Original Poster
Rep: Reputation: 30
hello

I am waiting for any good suggesion

thnaks
 
Old 12-17-2003, 10:28 AM   #7
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Rep: Reputation: 46
What exactly is your question? If you want someone to write a complete Squid How-To you may have to wait a while, and there are some good ones out there already. Did you have a specific question you needed help with? I may have misunderstood somewhere, could you clarify what you are asking please?
 
Old 12-17-2003, 09:04 PM   #8
oba
LQ Newbie
 
Registered: Sep 2003
Posts: 2

Rep: Reputation: 0
I haven't found a sure answer on this yet, so ask here:

Once squid is configured and run, does it have a gui or web based tool to monitor and manage? My boss wants to be able to block more and more sites himself. I know this guy sucks, but have to get it done

thanks yo!
 
Old 12-18-2003, 01:30 AM   #9
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Original Poster
Rep: Reputation: 30
hello

thank you pcghost for reply, i have clear in my post 1 every thing, but if you need more detail then alright,
Actualy i faced very hard time with squid, u can see in my last post on squid

http://www.linuxquestions.org/questi...323#post557323

i remove and reinstall squid many time for other requierment like DNS, Network interface settings, selection of squid stable version, etc.
mean while i found quick start guied for Microsoft ISA server with this nice guid i configure ISA and related all Option for better performance and with default all open rule with in 2 hours without any problem. i have not receive any complaint any of network user that some thing is not working. But i have to move on Squid.
thats why the idea of Easy step by step guied for squid comes in my mind, which will cover its requierments needed before and aftre squid. that will help to many other people.

here some more detail once i will start squid with its proper requirment , then i will work for its advance configuration , actualy i have to work for this advance task

1-configuration behind another proxy
2-how to control download , massenger or any thing else for all or specfic user or group
I am using Internet via sattlite with dialup . actualy our downlink data come through sattelite and all uplink request use dialup with any locl isp,

The hardware we use
1- DVB card (sattlite modem)
2- diaup connection + 1 lan card connected with internal network

What we do for start uplink through dailup and Downlik through DVB
1- for uplink we just enable dialup connection internet sharing for internal
network with default win2000 sharing. (its start internet for server it
self and all internernal netwok users)
2- for downlink we just type the proxy server ip Address in server Internet
Explorer -->Tools-->internet options-->connection-->under dialup
-- >setting IP 192.168.200.200 port 8080
and in all clients browser nternet Explorer -->Tools-->internet options
-- >connection-->-->lan Setting -->proxy server
IP 192.168.200.200 port 8080

It strat high speed internet for all users with all open.
For Security, Bandwidth, cache, and other great option i want to use Squid server.
now please regading my snerio guied me on which machine should i install Squid server
1- On the server where DVB card and dialup modem conected (but for this i will have to do many thing like , will have to seach install and configure driver of DVB card for linux )
2- On another machine in the same network with only 1 or 2 lan cards.

which snerio is better , i want to configure it to work behind our main server or should i install squid on main server.

i know its dificult to write compelete Easy step by step guied for Squid for one persone, then it can be contirbution of many experts.
an its not "how to" . how to just cover one topic ,like it will not cover any other requirment related squid . for this please see pst 5

Thanks
 
Old 12-18-2003, 10:50 AM   #10
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Rep: Reputation: 46
Quote:
Originally posted by oba
I haven't found a sure answer on this yet, so ask here:

Once squid is configured and run, does it have a gui or web based tool to monitor and manage? My boss wants to be able to block more and more sites himself. I know this guy sucks, but have to get it done

thanks yo!
Webmin has modules for both Squid (for configuration) and Squidguard (for monitoring and optionally blocking). It is at webmin.com. It's not the greatest way to configure Squid/Squidguard but for day to day changes it cannot be beat.

Mobassir, in answer to your question I would suggest putting squid on the main server, that is whichever machine is connected to the Sat modem. Does your Sat modem card work in Linux. If so that is cool. I normally run Squid on the machine that actually connects to the Internet as it requires tweaking fewer settings. But it is entirely possible to run it on a machine inside the network, you just simply set its gateway address to point to the main server and set up a routing table (masquerading) on the main server.
 
Old 12-22-2003, 04:32 AM   #11
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Original Poster
Rep: Reputation: 30
hello

thank you very much Pcghost that u suggest me proper way as me rquierments.
Now lets come to main topic that we are woerking on creating
"Easy step by steb guied for Squied basics"

Very firts step "Hardware reqierments" i find thses specifications from Orily-book, that is very high requierment we have to change it with our basic requiermnet

Single-processor Intel PentiumPro-200 or better
256MB RAM
Ultra-Wide SCSI Interface
Three 4GB Ultra-Wide SCSI disks (no RAID)
Redhat Linux 6.0
Squid web proxy cache

As my opinon with you suggession

Single-processor Intel PentiumPro-200 or better OK
256MB RAM OK
Minimum hard disks requiermnet (IDE 10 to 40GB) ?
Linux Distribution and version (Redhat 9) ?
Squid web proxy cache Version (2.4 or 2.5) any stable ?
Lan Card (1 or 2) ?
Hardware for InterNet Connection (Dialup Modem) OK
CD-Rom (Any can install) Ok
FDD OK


now i need your suggession for proper basiq hardware requiermnets, so we can jump to next topic

thanks and regards
 
Old 12-29-2003, 06:56 AM   #12
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Original Poster
Rep: Reputation: 30
hi

waiting for responce

regards
 
Old 01-13-2004, 04:03 AM   #13
semer
LQ Newbie
 
Registered: Jan 2004
Location: pakistan
Posts: 1

Rep: Reputation: 0
i cant configure my proxy server while we have a workgroup of 50 workstations,my question is that i dont have domain here and no netid is here so in ACL lists what is to be done ,individual ip can be given access in case of no net id ????....
 
Old 05-19-2004, 02:01 AM   #14
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Original Poster
Rep: Reputation: 30
Hello

I amd installting squid on redhat linux 7.3. i chose squid 2.5 stable 4 and download tar.gz filr from squid-cache.org.
here is my procedure to install squid.

i downlaoded squid installation file in /myprog/squid folder

i start this procedure with help if INSTALL file in squid installation directory

cd /myprog/squid
tar xzf squid-2.5.stable4.tar.gz
cd squid-2.5.stable4
./configure --prefix=/usr/local/squid
make all
make install

aftre this i make some changing for basic squid as recomended in quickinstall file in squid installtion directory

/usr/local/squid/sbin/squid -k parse

/usr/local/squid/sbin/squid -z ---> this command give folowing ERROR

date Time : Creating Swap Directoies
FATAL : fail to make swap directories /usr/local/squid/var/cache: (13) Permission Denied
Squid cache (version 2.5 stable4) Terminated Abnormally
CPU usges : 0.000 Second = 0.000 user + 0.000 sys
maximum Resident size: 0 kb
page fault with phisical I/o : 10

i tried with 2 to 3 times reinstallation of squid even i tried squid ver 2.4 stable4 , but same error.

one thing more right now i am using soame cache_dir path but i wnat to use 2 diffirents partitions for cache drive /cache1 and /cache2 how can i add this path

Please help some one how can i resolve this issue

thanks
 
Old 05-19-2004, 11:35 AM   #15
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Rep: Reputation: 46
First worry about the installation issue, then worry about configuration. First and foremost, are you running as root during install? The permissions error seems like you may not be.
 
  


Reply


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
Step by Step guied for Installation pent@net Dvb card under linux mobassir Linux - Networking 4 06-07-2006 07:31 PM
squid step by step abhishekgedam Linux - Networking 3 11-26-2005 06:04 AM
Step-by-Step: Making integrated Broadcome wireless adapter work with Mandrake 9.2 jmp875 Linux - Wireless Networking 16 06-30-2004 12:50 AM
I need to upgrade to a recent Squid version, I need a Step by step procedure mfeoli Linux - Newbie 4 01-14-2004 10:14 AM
Step by Step guied for installation Lan card under Linux mobassir Linux - Networking 0 12-12-2003 06:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:58 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration