1. tar zxvf squid-2.5.STABLE3.tar.gz -C /usr/local/src
2. cd /usr/local/src/squid-2.5.STABLE3#
3. ./configure –prefix=/usr/local/squid
4. make ; make install
5. edit squid.conf pada directory /usr/local/squid/etc/
6. buat user dan group squid
7. groupadd squid
8. useradd squid -g squid -d /bin/false -s /nonexistent
9. buat directory cache ==> mkdir /cache
10. chown squid:squid /cache *
11. lalu jalankan /usr/local/squid/sbin/squid -k parse
12. cd /usr/local/var/logs
13. touch access.log cache.log
14. chown squid:squid *
15. lalu jalankan /usr/local/squid/sbin/squid -z
16. lalu jalankan /usr/local/squid/sbin/squid -DNY &
17. lalu check client squid
/usr/local/squid/bin/squidclient -h 127.0.0.1 -p 8080 http://
www.yahoo.com/
# bila ada configurasi baru
/usr/local/squid/bin/squid -k reconfigure
#### end off the fuck manual #######
Tidak ada komentar:
Posting Komentar