Minggu, 19 Februari 2012

SQUID & LUSCA PROXY HIGH PERFORMANCE

download dulu putty, coz tar ngerjainnya pake putty hehehehe

sebelumnya stop dulu service squid nya
/etc/init.d/squid stop

backup squid.conf nya di /etc/squid/squid.conf
delete squid yg lama

rpm -e squid-xxx(versi squid)

delete file di directory cache_dir
ex:
rm -rf /cache/*

download pack lusca
NEW LUSCA UBUNTU-64 BIT (24 Maret 2010)
hxxp://squid-proxy-pkg.googlecode.com/files/deb-lusca-r14499-64.tar.bz2


NEW LUSCA Release 14410 (16 February 2010)
hxxp://squid-packge.googlecode.com/files/LUSCA_HEAD-r14410-1_el5.i386.rpm
hxxp://squid-packge.googlecode.com/files/LUSCA_HEAD-r14410-1_el5.x86_64.rpm
wget hxxp://squid-packge.googlecode.com/files/LUSCA_HEAD-r14371-1_el5.i386.rpm

trus di install
rpm -Uvh LUSCA_HEAD-r14371-1_el5.i386.rpm

trus download file2 confignya
cd /etc/squid/
wget hxxp://squid-proxy-pkg.googlecode.com/files/squid.conf
wget hxxp://squid-proxy-pkg.googlecode.com/files/storeurl-el5.pl
wget hxxp://squid-proxy-pkg.googlecode.com/files/tunning-el5.conf

chmod +x storeurl-el5.pl
chown squid:squid tunning-el5.conf
chown squid:squid storeurl-el5.pl
trus sesuaikan configurasi cache_dir,allow netlocal dll  di file squid.conf

update tunning sysctl.conf
cd /etc/
wget hxxp://squid-packge.googlecode.com/files/sysctl.conf-el5
mv sysctl.conf-el5 sysctl.conf


rebuild cache

cek configurasi
squid -k parse

klo kagak ada error, rebuild cache swapnya
squid -z

tahap akhir start servis squid
/etc/init.d/squid start

Tidak ada komentar:

Posting Komentar