Time for action – finding out the Squid version
Just in case we want to check which version of Squid we are using or the options we used with the configure
command before compiling, we can use the option -v
on the command line. Let's run Squid with this option:
squid -v
If we try to run the preceding command in the terminal, it will produce an output similar to the following:
Squid Cache: Version 3.1.10 configure options: '--config-cache' '--prefix=/opt/squid/' '--enable-storeio=ufs,aufs' '--enable-removal-policies=lru,heap' '--enable-icmp' '--enable-useragent-log' '--enable-referer-log' '--enable-cache-digests' '--with-large-files' --enable-ltdl-convenience
What just happened?
We used the squid
command with the -v
option to find out the version of Squid installed on our machine, and the options used with the configure
command before compiling Squid.
Creating cache or swap directories
As we learned in the previous chapter, the cache directories specified using the cache_dir
directive in...