how to Clear Squid Cache CentOS 5.x

stop squid

$ service squid stop

removes cached files and directory structure

$ rm -rf /var/spool/squid/*

removes the logs

$ rm -rf /var/log/squid/*

recreates the cache_dir structure
$ squid -z

$ service squid start

Comments

Popular posts from this blog

how to mount window server on linux machine

how to Mount NTFS in CentOS step by step