Re: A beginner's question

From: Henrik Nordstrom <[email protected]>
Date: Sun, 30 Jan 2000 14:56:20 +0100

gzhgcnew wrote:

> Question 1: If I were to install squid rpm on a redhat linux box,is it
> dangerous to do this as root?

No.

> Because squid's users guide warned that "never install squid
> as root!",and only the root can install rpms.

The RedHat RPM installs Squid to run as the user "squid", with proper
permissions on things.

> Question 2: If I were to install squid for a small company,say 500
> http pages accessed per day,how should I configure the squid.conf?
> I want to use an old 586 machine (66MHZ,1.2GB hard disk,32mb RAM),is
> it good in this case.

Probably fine.

Things you need to change in the default configuration
(/etc/squid/squid.conf) is:

* Access control to give your users access to the proxy.
  Where indicated in squid.conf add:
     acl from_local_net src your.local.network/netmask
     http_access allow from_local_net
* Tune down cache_mem to 2 mb from the default of 8 mb.
  The default is a bit too much if you only have 32 MB.

You will probably need more disk and memory if you want to have a decent
cache hit ratio, if at all possible with that few number of users.

--
Henrik Norstrom
Received on Sun Jan 30 2000 - 07:07:50 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:46 MST