by julykur(julyono@yahoo.com)
Squid adalah proxy server
1. download source squid
STABLE:squid
2. copykan ke /usr/local/src
cp squid-2.5.STABLE9.tar.gz /usr/local/src
3.extract source squid di /usr/local/src
tar zxvf squid-2.5.STABLE9.tar.gz
4. configure source di /usr/local/src
./configure --disable-internal-dns --prefix=/usr/local/squid
make ; make install
5.buat directory cache
mkdir /usr/local/squid/var/cache
6.ubah permision cache
chown nobody:nogroup -R /usr/localsquid/var/
7.edit configurasi squid.conf
vi /usr/local/squid/etc/squid.conf
8.Jalan Squid Pertama kali
/usr/local/squid/sbin/squid -k parse
9. lalu jalankan /usr/local/squid/sbin/squid -z
10. lalu jalankan /usr/local/squid/sbin/squid -DNY &,p>
11. lalu cek melalui client --> /usr/local/squid/bin/squidclient -h 127.0.0.1 -p 8080 http://www.yahoo.com/
No comments:
Post a Comment