Linux Interview Questions: Experienced
1) How to implement Squid proxy ? 2) How to see bandwidth used by ftp user? 3)H ow to implement Squid as reverse proxy ? 4) How to see logs of Squid proxy ? /var/log/squid/access.log : You can use this file to find out who is using squid server and what they are doing etc /var/log/squid/cache.log : The cache.log file contains the debug and error messages that Squid generates. If you start your Squid using the default RunCache script, or start it with the -s command line option, a copy of certain messages will go into your syslog facilities. /var/log/squid/store.log : The store.log file covers the objects currently kept on disk or removed ones. As a kind of transaction log it is ususally used for debugging purposes. 5) How to see cache in Squid proxy ? 6) How to clear Cache in Squid proxy? Ans.: just stop squid, and erase all the files in your cache directory... for example: Code: squid -k shutdown rm -fr /var/lib/squid/cache/* then re-create the swap dir...