JEJAK PETUALANG

November 12, 2008

Membersihkan Cache squid

Filed under: Linux

berikut ini langkah-langkah untuk bembersihkan cache proxy yang sudah penuh:

1. Matikan dulu redirect ke proxy biar client tetap bisa browsing

2. matikan proses squid dengan mengetik perintah: #squid -k shutdown

3. #umount /dev/sdb1  (dst sdb2,…); sdb di sesuaikan dengan tipe hardisk

4. #mkreiserfs /dev/sdb1 (dst sdb2,…); perintah untuk format 

5. #mount /dev/sdb1 /cache1  (dst partisi cache yg lain)

6. #chown -R squid:squid /cache1 (dst cache yg lain)

7. #squid -YDF ; jalanin lg proses squid

8. hidupin lg redirect ke proxy na

perintah ini dijalankan di linux slackware 12.1,squid versi 2.6

nb: perintah tambahan

#cat /etc/squid/var/logs/access.log

#cat /etc/squid/var/logs/cache.log 

 

     

Comments »

The URI to TrackBack this entry is: http://timorensis.blogsome.com/2008/11/12/xv/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.






















Get free blog up and running in minutes with Blogsome
Theme designed by Naoko M