Note: This version of the VDT (1.10.0) is no longer supported. Feel free to look through the documentation and install it, but we cannot guarantee support for it. The current stable release is 2.0.0.

configure_squid

configure_squid - Squid configuration script

Synopsis

    configure_squid --server <y,n>
                    --user <Squid user>
                    --mem-cache-size <Memory cache size in MB>
                    --disk-cache-size <Disk cache size in MB>
                    --allow-snmp <IP address>
                    --vdt-install <VDT installation root>
                    --help
                    --usage

Description

--server <y,n>
For y, prepare RLS to be installed and started by vdt-control. For n, describe RLS for use by vdt-control, but do not enable.
--user <Squid user>
By default Squid will be configured to run as the daemon user. You can specify an alternative with the --user flag.
--mem-cache-size <Memory cache size in MB>
Set the size of the in-memory cache.
--disk-cache-size <Disk cache size in MB>
Set the size of the on-disk cache.
--allow-snmp <ip-address>
Allows the given IP Address to access SNMP provided by this Squid. this option may be given more than once.
--vdt-install <VDT installation root>
configure_squid will look for the root of the VDT installation at $VDT_LOCATION. If you do not have that set you can specify it with --vdt-install instead.
--help, --usage
Print a usage message.

The following changes will be made to the stock Squid configuration:

The location $VDT_LOCATION/squid/var/cache is created for the web cache
Logs are put in $VDT_LOCATION/squid/var/logs
The server is set up to run as the specified user or daemon