Note: This version of the VDT (1.4.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>
                    --vdt-install <VDT installation root>
                    --help
                    --usage

Description

--server <y,n>
For y install the squid init script in /etc/init.d, make appropriate run level links and start the server. For n remove any existing squid init from /etc/init.d.
--user <Squid user>
By default Squid will be configured to run as the daemon user. You can specify an alternative with the --user flag.
--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