Konfigurasi Squid 3 Di debian 8 Jessie

on Selasa, 12 Mei 2015

Alhamdulillah akhirnya bisa berbulan madu dengan si jessie ini...
langsung saja biar saya inger ini alias sebagai catatan saja..

install squid3 (masuk root ye!!!)
apt-get install squid3

Back up

cp /etc/squid/squid.conf cp /etc/squid/squid.conf.backup

Seting squid (gue pakek mate)
sudo pluma /etc/squid3/squid.conf

ada di pastebin setingannya :)
http://pastebin.com/JhMuDiBX

Rubah permission di cachenya
chown -R proxy:proxy /var/spool/squid3/

lanjut testing

squid3 -k parse 


"sementara masih ada errror" tapi jalan :D so abaikan
2015/05/12 20:31:37| WARNING: use of 'override-expire' in 'refresh_pattern' violates HTTP
2015/05/12 20:31:37| WARNING: use of 'override-lastmod' in 'refresh_pattern' violates HTTP
2015/05/12 20:31:37| WARNING: use of 'reload-into-ims' in 'refresh_pattern' violates HTTP
2015/05/12 20:31:37| WARNING: use of 'ignore-reload' in 'refresh_pattern' violates HTTP
2015/05/12 20:31:37| WARNING: use of 'ignore-no-store' in 'refresh_pattern' violates HTTP
2015/05/12 20:31:37| WARNING: use of 'ignore-must-revalidate' in 'refresh_pattern' violates HTTP
2015/05/1


Buat cache dir
squid3 -z 

Finally restart squid
service squid3 start 

N rubah proxy browser ke 127.0.0.1 port 3128


ngecek gedenya cache
du -hs /var/spool/squid3
 

 
Ranking: 5
Comments
0 Comments
 
© Geazzy Corner All Rights Reserved