Jump to content

Squid Installation on FreeBSD


Guest obzerver
 Share

Recommended Posts

Guest 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 :)]

Link to comment
Share on other sites

Guest 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

Link to comment
Share on other sites

Guest 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

Link to comment
Share on other sites

Guest 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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...