Linux Squid Onno W. Purbo
Contoh Cache / Proxy Oops Tinyproxy dns/ Squid
Check Package Squid /root]# rpm -qa | grep squid squid-2.2.STABLE1-1
Instalasi RPM Squid /mount-point/RedHat/RPMS Nama Packadge squid-2.2.STABLE1-1.i386.rpm Instalasi /]# rpm -ivh /cdrom/RedHat/RPMS/squid-2.2.STABLE1-1.i386.rpm squid #######################################
Berbagai Directory Squid /etc/squid /usr/doc/squid-2.2.STABLE1 /home/httpd/cgi-bin/cachemgr.cgi /usr/lib/squid/errors /usr/bin/squid /var/log/squid /var/spool/squid
Konfigurasi Squid /etc/squid/squid.conf Situs Contoh Squid
Perintah Konfigurasi http_port http_port 8080 cache_peer hostname type cache_peer proxy.parent.net.id parent cache_peer proxy.sibling.net.id sibling cache_mem cache_mem 21 MB
Perintah Konfigurasi cache_dir cache_dir /usr/local/squid/cache acl acl manager proto cache_object acl localhost src / acl all src / acl allowed_hosts src /
Perintah Konfigurasi http_access allow allowed_host localhost http_access deny manager all http_access deny all icp_access allow localhost allowed_hosts icp_access deny all visible_hostname visible_hostname proxy.klik.war.net.id
Perintah Konfigurasi cache_mgr cache_mgr
Menjalankan Squid Menyiapkan Swap # squid -z Menjalankan Squid # squid &