menghapus cache proxy otomatis berkala

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
balotelli
Posts: 1
Joined: 14 Mar 2012, 08:26
Location: Jakarta, Indonesia
Contact:

menghapus cache proxy otomatis berkala

Postby balotelli » 14 Mar 2012, 08:30

para master bagaimana cara supaya cache di proxy squid terhapus otomatis secara berkala....
Thanks b4
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: menghapus cache proxy otomatis berkala

Postby sipelaut » 14 Mar 2012, 10:01

sudah coba crontab [0]
cuman ane belum pernah makek hee....
space masih banyak nichh

[0] http://ncupisme.blogspot.com/2011/07/ca ... squid.html
User avatar
callahanwhitehat
Posts: 1
Joined: 27 Mar 2012, 17:24
Location: tangerang
Contact:

Re: menghapus cache proxy otomatis berkala

Postby callahanwhitehat » 27 Mar 2012, 17:29

yoi niy,ane jg masih bingung tuh buat apus otomatis cache'a....
kalo ada yg bisa tolong dong di share
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: menghapus cache proxy otomatis berkala

Postby yudiarbi » 28 Mar 2012, 08:18

nyobain bantu yach >
di squid.conf ditambahin :

Code: Select all

logfile_rotate 14

akan ada 14 folder hasil rotasi log squid
edit seperlunya di /etc/logrotate.conf dan /etc/logrotate.d/squid
buang secara periodik file kompres, misale access.log1.gz ato lwat crontab

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 2 guests