Help - Search - Members - Calendar
Full Version: Squid Installation on FreeBSD
MandrivaUsers.org > Advanced Topics > Other Linux and Unix Distributions
obzerver
Hi,

I need help with Squid Proxy Caching Software.

I have reviewed the official Squid documents and searched the web extensively for it but couldn't find a simple configuration guide.


Here is my problem:

1- I installed FREEBSD release 7 [ Full Installation ]

2- I installed SQUID 3
./configure
make
make install

3. added only
visible_hostname myhost

4. run the command
./squid -z

5. ./squid start

but ./squid -k check
gives me:
Squid: error: could not send signal 0 to process 15456: (3) no such process



my question:
what is the minimum configuration i can do to start using squid just ?

thanks

Moved from Windows to Linux


[moved from Terminal Shell Commands, etc by spinynorman - welcome aboard :)]
obzerver
Thanks for the quick guide. It really helped and it is working. Thankful to chris_z


in squid.conf
i have added
visible_hostname mylinux
http_access allow all
icp_access allow all
cache_dir ufs /usr/local/squid/var/cache/ 100 16 256


Newbies: just make sure to follow these steps
2- I installed SQUID 3
./configure
make
make install

3. added only
visible_hostname myhost

4. run the command
./squid -z

if you get error here then follow these steps


sudo chmod -R 777 /squid/var/cache/


Am I right ?

5. ./squid start

but ./squid -k check
obzerver
Now a quick question for the Squid Guru

How I can I add user authentication for the proxy


Anyone who connects to the proxy should get a username and password for verification..

how can I enable this on squid.

thanks
spinynorman
obzerver: I've moved your latest posts to this thread, and linked to the other one. Please don't raise the same problem in different topics - it causes confusion. smile.gif
obzerver
I checked the standard documentation,

it says to locate ncsa_auth
find / -name ncsa_auth
gives me nothing.

there is nothing in the /usr/local/squid/bin or /usr/local/squid/etc or /usr/local/squid/libexec

where can I find the ncsa_auth for freebsd ? and I have squid version 3

thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.