This is how to configure a
CernVM image to run as a squid server. Refer also to
ConfigureCernVM.
CernVM v2.6 Batch Node Configuration
Xen Image Configuration
Do the following:
Squid Configuration
In
/etc/squid/squid.conf
set:
http_access allow (?)
cache_mem (?) MB
maximum_object_size_in_memory 128 KB
cache_dir ufs /var/spool/squid (?) 16 256 # Or somewhere else?
maximum_object_size 1048576 KB
#### logformat awstats %>a %ui %un [%{%d/%b/%Y:%H:%M:%S +0000}tl] "%rm %ru HTTP/%rv" %Hs %<st %Ss:%Sh %tr "%{X-Frontier-Id}>h"
cache_log /var/log/squid/cache.log
#### cache_store_log none
strip_query_terms off
negative_ttl 1 minute
collapsed_forwarding on
refresh_stale_hit 5 seconds
cache_mgr (someone@somewhere.com)
umask 022
### could configure snmp_access
--
RyanTaylor - 2013-01-23