Stepbystep Remove Remove Apparent Cache on Fedora Program. T he step by step below exhibit the phase to remove eliminate or clear squid cache. The instance below present the faster strategy start squid again applying clean file and to distinct cache. This task by action to obvious squid cache is tested and done on Linux Fedora 10 method and could be use on different Linux Fedora method with squid mounted:-). Check Squid Cache Area. Check squid spot on your own Linux process. The standard site might be at / var/spool/squid listing, however, you may use order as display about the case below to test directory that is squid in your process. ]# cat /etc/ squid/ squid.conf cache dir ufs /var/spool/squid 4000 16 256 2. Examine squid cache directory inside squid macrush.net index by number articles.
Squid directory’s articles should appear to be on instance below. 00 02 04 06 08 0A 0C 0E swap.state 01 03 05 07 09 0B 0D 0F Stop squid cache proxy server. In order to apparent squid cache, we must end proxy first. The action below show illustration to stop squid proxy server. NOTICE:- be sure that you quit squid proxy before attempt to clear squid cache. Check squid proxy status. ]# service status squid (pid 7593) is operating. Cease squid server. ]# service squid stop Ending squid.
that is OK }} ] 5. Validate that squid proxy is stop. ]# service status squid is stopped Build listing and move squid cache file. Build new service to momentary retailer the previous squid cache documents. Do that why we shoud,. The solution. To reduce squid proxy downtime.
First we have to develop directory after which move the previous squid cache file to the service. Create directory and examine. 00 02 04 06 08 0A 0C 0E squid cache old swap.state.last-clear 01 03 05 07 09 0B 0D 0F swap.state 7. Subsequently transfer and obvious cache contents that are squid to /var/spool/squid/ listing that is squid cache old. ]# mv /var/spool/squid/. /var/spool/ squid ]# mv spool/squid/ swap* /var/spool/squid/squid cache old/ 8. Validate the items of the cache index. Start squid with cache that is new.
Develop squid cache directory (Restore squid cache). 2009/06/08 07:16 Creating Change Sites 2009/06/08 07:16:32 /var/spool/ squid exists 2009/06/08 07:16:32 sites in /var/spool/squid/00 2009/06/08 07:16 Generating directories in /var/spool/squid/01 2009/06/08 07:16 Making directories in /var/spool/squid/02 2009/06/08 07:16:32 sites in /var/spool/squid/03 2009/06/08 07:16 Producing sites in /var/spool/squid/04 2009/06/08 07:16 Producing websites in /var/spool/squid/05 2009/06/08 07:16:32 sites in /var/spool/squid/may 2009/06/08 07:16 Building websites in /var/spool/squid/07 2009/06/08 07:16 Building directories in /var/spool/squid/08 2009/06/08 07:16:32 directories in /var/spool/squid/09 2009/06/08 07:16 Making websites in /var/spool/squid/0A 2009/06/08 07:16 Building sites in /var/spool/squid/0B 2009/06/08 07:16 Generating sites in /var/spool/squid/0C 2009/06/08 07:16 Building websites in /var/spool/squid/0D 2009/06/08 07:16 Creating websites in /var/spool/squid/0E 2009/06/08 07:16 Generating sites in /var/spool/squid/0F 10. View squid cache service contents to validate the cache file exist. 00 02 04 06 08 0A 0C 0E squid cache old 01 03 05 07 09 0B 0D 0F 11. Start then, and squid with fresh clean cache confirm squid proxy server is installed and operating. ]# service start Starting squid. [ OK that is OK }} ] Remove cache.