Linux Squid Onno W Purbo onnoindo net id
Linux Squid Onno W. Purbo onno@indo. net. id
Contoh Cache / Proxy n Oops n n Tinyproxy n n http: //www. sleepycat. com http: //www. chiark. greenend. org. uk/~ian/a dns/ Squid n http: //squid. nlanr. net/Squid/
Check Package Squid [root@server /root]# rpm -qa | grep squid-2. 2. STABLE 1 -1
Instalasi RPM Squid n /mount-point/Red. Hat/RPMS n Nama Packadge n squid-2. 2. STABLE 1 -1. i 386. rpm Instalasi n n [root@server /]# rpm -ivh /cdrom/Red. Hat/RPMS/squid-2. 2. STABLE 1 -1. i 386. rpm squid ####################
Berbagai Directory Squid n n n n /etc/squid /usr/doc/squid-2. 2. STABLE 1 /home/httpd/cgi-bin/cachemgr. cgi /usr/lib/squid/errors /usr/bin/squid /var/log/squid /var/spool/squid
Konfigurasi Squid n /etc/squid. conf Situs Contoh Squid n http: //squid. nlanr. net
Perintah Konfigurasi n http_port 3128
Perintah Konfigurasi n http_port <nomor-port> n n cache_peer hostname type <http-port> <icpport> n n n http_port 8080 cache_peer proxy. parent. net. id parent 8080 3130 cache_peer proxy. sibling. net. id sibling 8080 3130 cache_mem n cache_mem 21 MB
Perintah Konfigurasi n cache_dir n n cache_dir /usr/local/squid/cache 100 16 256 acl n n acl acl manager proto cache_object localhost src 127. 0. 0. 1/255. 255 all src 0. 0/0. 0 allowed_hosts src 192. 168. 1. 0/255. 0
Perintah Konfigurasi n n n n http_access allowed_host localhost http_access deny manager all http_access deny all icp_access allow localhost allowed_hosts icp_access deny all visible_hostname <nama-host> visible_hostname proxy. klik. war. net. id
Perintah Konfigurasi n n cache_mgr <alamat_email> cache_mgr admin@server. klik. war. net. id
Menjalankan Squid Menyiapkan Swap n # squid -z Menjalankan Squid n # squid &
- Slides: 12