Hariadi Yutanto

Squid Server

Squid di Windows

by anto chuakev on Apr.11, 2009, under Squid Server, windows

berikut cara menginstall squid di windows

1. download squid dari http://squid.acmeconsulting.it/download/dl-squid.html

2. extract di c:/ jadi c:/squid/

3. masuk ke dir c:/squid/etc/ hilangkan ext *.default di semua file, sehingga hanya ada file

cachemgr.conf

squid.conf

mime.conf

squid_raidus_ath.conf

4. buat direktori cache di disk yang gede free space nya contoh e:/cache/

5. edit squid.conf hapus semua text ganti dengan:

#copy from here

#file squid.conf
http_port 3128
icp_port 0
visible_hostname localhost
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 8 MB
cache_dir ufs e:/cache 4500 16 256
redirect_rewrites_host_header off
acl localnet src 27.27.27.0/24
acl localhost src 127.0.0.1/255.255.255.255
acl Safe_ports port 80 443 210 119 70 21 1025-65535
acl CONNECT method CONNECT
cache_mgr me@localhost
cache_access_log c:/squid/var/logs/access.log
cache_store_log c:/squid/var/logs/store.log
cache_log c:/squid/var/logs/cache.log
log_icp_queries off
cachemgr_passwd rahasia
acl manager proto cache_object
http_access allow manager
acl all src 0.0.0.0/0.0.0.0
http_access allow localnet
http_access allow localhost
http_access deny all
#end of file, end paste here

ganti acl localnet src 27.27.27.0/24 dengan ip LAN anda

ganti cache_dir ufs e:/cache 4500 16 256 dengan direktori cache anda yang di e:/cache tinggalkan yang lain default

ganti cache_mgr me@localhost dengan email anda

ganti cachemgr_passwd rahasia dengan password sesuka anda

6. ctrl+s save squid.conf anda

7. buka command prompt browse ke c:/squid/sbin/

8. jalankan squid.exe -z

9. jalankan squid.exe -i

10. masuk ke services.msc cari Squid kemudian buka dan Start services

11. ganti proxy anda di browser anda dengan localhost port 3128.

done..

jika anda ingin mendelete folder cache/ matikan services squid lalu delete buat dir cache/ lagi dan mulai squid lagi dengan command squid.exe -z


sumber : http://gxrg.org/v1/gnu/squid-di-windows

Leave a Comment more...

Looking for something?

Use the form below to search the site:


Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Design by bonkqloph Production

Visit our friends yu!

A few highly recommended friends...