Results 1 to 10 of 34
Okay, I am very much a Linux newbie. I'm trying to setup Squid as a Proxy server, and then install SquidGuard for a webfilter on this Mandrake 10.1 box (fresh ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-22-2005 #1Just Joined!
- Join Date
- Mar 2005
- Posts
- 58
Squid insallation on Mandrake 10.1
Okay, I am very much a Linux newbie. I'm trying to setup Squid as a Proxy server, and then install SquidGuard for a webfilter on this Mandrake 10.1 box (fresh install).
I've searched and read everything I could find to help me figure out the solution, but cannot.
Here's the problem:
I've downloaded Squid (squid-1.5.STABLE9.tar.gz) and I've compiled it. I can run a "whereis squid" in the konsole, and it told me:
"squid: /usr/local/squid"
Next I installed Webmin. However, whenever I try to get the modules pointing the right direction, it tells me "The squid executable squid does not exist....etc." The default settings in Webmin were pointing to the /etc/squid/bin directory. I changed it to point at the current directory (/usr/local/squid/bin), but the only executable is the squidclient. So, I changed it to sbin, as there is a squid file there. Still, same message in Webmin. So, I went through, and found where I could "install" squid by specifying a "prefix", and I did that, and made the changes in Webmin to point at /etc/squid/, but, still no luck.
So, I'm assuming I'm screwing up when trying to install it.
Any help would very much be appreciated guys (and gals!). Thanks in advance.
- 03-22-2005 #2Linux Enthusiast
- Join Date
- Feb 2005
- Location
- SE, Stockholm
- Posts
- 512
Do a
and use the result from there as your configuration in webmin. Wheris will show you all instances of the word "squid" from your filesystem, well almost at least.Code:which squid
"which" command just searches your $PATH environment variable and outputs the result of this.
- 03-22-2005 #3Just Joined!
- Join Date
- Mar 2005
- Posts
- 58
When doing a "which squid", I get:
"Which: no squid in (/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin)"
- 03-22-2005 #4Linux Enthusiast
- Join Date
- Feb 2005
- Location
- SE, Stockholm
- Posts
- 512
Hmm! Did you do
as root? Since you downloaded the source, you'll need to install the compiled binary files as well.Code:make install
However, Squid is part of MDK 10.1, so you should be able to install them as is. Try urpmi squid
- 03-22-2005 #5Just Joined!
- Join Date
- Mar 2005
- Posts
- 58
That was installed as root, yes.
Thanks for your suggestion. I'll give that a try. It's needing the installation DVD for those packages, so I'll have to wait until tomorrow (DVD is at the house).
Thanks again man. I'll let ya know how that goes.
- 03-22-2005 #6Linux Enthusiast
- Join Date
- Feb 2005
- Location
- SE, Stockholm
- Posts
- 512
Well, you can change your default media and use an online media if you'd prefere that.
http://easyurpmi.zarb.org/ Will guide you through how to set up that. And then you can temporary disable your DVD/CD installation disc set
- 03-22-2005 #7Just Joined!
- Join Date
- Mar 2005
- Posts
- 58
Wow. The more I play around on Linux the more I'm really liking it!
Okay, so I went through and selected the mirrors. However, is there something that supposed to appear for me to type in to select those as my media source? The only thing I see is:
"urpmi.removemedia -a"
- 03-22-2005 #8Just Joined!
- Join Date
- Mar 2005
- Posts
- 58
Scratch that. I missed clicking on one of those buttons.
- 03-22-2005 #9Linux Enthusiast
- Join Date
- Feb 2005
- Location
- SE, Stockholm
- Posts
- 512
Hmm! You should get something like this
In other words, you should have "urpmi.addmedia" and not "urpmi.removemedia"Code:urpmi.addmedia main ftp://ftp.sunet.se/pub/Linux/distributions/mandrakelinux/official/10.1/i586/media/main with media_info/hdlist.cz urpmi.addmedia contrib ftp://ftp.sunet.se/pub/Linux/distributions/mandrakelinux/official/10.1/i586/media/contrib with media_info/hdlist.cz
- 03-22-2005 #10Linux Enthusiast
- Join Date
- Feb 2005
- Location
- SE, Stockholm
- Posts
- 512
Ok! Explains the errenous commands your where adviced intoScratch that. I missed clicking on one of those buttons.


Reply With Quote
