Tuesday, January 17, 2006

squid config

# NETWORK OPTIONS
http_port 3128

# OPTIONS WHICH AFFECT THE CACHE SIZE
cache_mem 16 MB

# LOGFILE PATHNAMES & CACHE DIRECTORIES
cache_dir ufs /var/spool/squid 100 16 256

# ACCESS CONTROLS

# http_access deny all
http_access allow all[ini tambahan]


##############################
/usr/sbin/squid -z
/etc/rc.d/init.d/squid start
#############################

#####################################################################################
if u see this :

FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'

Squid Cache (Version 2.5.STABLE1): Terminated abnormally.
CPU Usage: 0.150 seconds = 0.110 user + 0.040 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 379
Aborted
#####################################################################################

solution : check the visible_hostname

No comments: