1 / 12

Linux Squid

Linux Squid. Onno W. Purbo onno@indo.net.id. Contoh Cache / Proxy. Oops http://www.sleepycat.com Tinyproxy http://www.chiark.greenend.org.uk/~ian/adns/ Squid http://squid.nlanr.net/Squid/. Check Package Squid. [root@server /root]# rpm -qa | grep squid squid-2.2.STABLE1-1.

sol
Download Presentation

Linux Squid

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Linux Squid Onno W. Purbo onno@indo.net.id

  2. Contoh Cache / Proxy • Oops • http://www.sleepycat.com • Tinyproxy • http://www.chiark.greenend.org.uk/~ian/adns/ • Squid • http://squid.nlanr.net/Squid/

  3. Check Package Squid [root@server /root]# rpm -qa | grep squid squid-2.2.STABLE1-1

  4. Instalasi RPM Squid • /mount-point/RedHat/RPMS • Nama Packadge • squid-2.2.STABLE1-1.i386.rpm Instalasi • [root@server /]# rpm -ivh /cdrom/RedHat/RPMS/squid-2.2.STABLE1-1.i386.rpm • squid #######################################

  5. 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

  6. Konfigurasi Squid • /etc/squid/squid.conf Situs Contoh Squid • http://squid.nlanr.net

  7. Perintah Konfigurasi • http_port 3128

  8. Perintah Konfigurasi • http_port <nomor-port> • http_port 8080 • cache_peer hostname type <http-port> <icp-port> • cache_peer proxy.parent.net.id parent 8080 3130 • cache_peer proxy.sibling.net.id sibling 8080 3130 • cache_mem • cache_mem 21 MB

  9. Perintah Konfigurasi • cache_dir • cache_dir /usr/local/squid/cache 100 16 256 • acl • acl manager proto cache_object • acl localhost src 127.0.0.1/255.255.255.255 • acl all src 0.0.0.0/0.0.0.0 • acl allowed_hosts src 192.168.1.0/255.255.255.0

  10. 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 <nama-host> • visible_hostname proxy.klik.war.net.id

  11. Perintah Konfigurasi • cache_mgr <alamat_email> • cache_mgr admin@server.klik.war.net.id

  12. Menjalankan Squid Menyiapkan Swap • # squid -z Menjalankan Squid • # squid &

More Related