Juni 2007


http_port 3128

cp_port 3130

tcp_outgoing_address 0.0.0.0
udp_incoming_address 0.0.0.0
udp_outgoing_address 0.0.0.0

cache_mem 16 MB
maximum_object_size 128 MB

cache_dir ufs /misc/squid/c1 7000 8 128
cache_dir ufs /misc/squid/c2 7000 8 128
cache_dir ufs /misc/squid/c3 7000 8 128

cache_access_log /var/log/squid/access.log

cache_log /dev/null
cache_store_log /dev/null

logfile_rotate 4
memory_pools_limit 8 MB
redirect_rewrites_host_header on
#replacement_policy GDSF
half_closed_clients on

request_header_max_size 128 KB
request_body_max_size 5 MB

dns_nameservers 192.168.0.200

quick_abort_min 16 KB
quick_abort_max 16 KB
quick_abort_pct 95
connect_timeout 120 seconds
peer_connect_timeout 30 seconds
#siteselect_timeout 4 seconds
read_timeout 15 minutes
request_timeout 5 minutes
client_lifetime 1 day

#———–transparent proxy ———–
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
#——————————————-

#Script Membuka/Menutup akses sex
acl sex url_regex -i “/etc/squid/sex”
acl blok-website url_regex -i “/etc/squid/blok-website”

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

client_netmask 255.255.255.255

acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.0/255.255.255.0
acl lan_ku src 192.168.0.0/255.255.255.0
acl images urlpath_regex -i \.gif$ \.png$ \.jpg$ \.jpeg$
acl Safe_ports port 80 21 443 563 70 210 8888 1025-9000 6661-7000
acl CONNECT method CONNECT

#http_access allow localhost CONNECT
#http_access allow internet CONNECT

#akses sex ditutup
#——————–
http_access deny sex
http_access deny blok-website

http_access allow CONNECT
http_access allow localhost
http_access allow all
http_access allow lan_ku
http_access allow Safe_ports

http_access deny !Safe_ports
http_access deny CONNECT
http_access deny all

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

#—————- administration info ————
cache_mgr [EMAIL PROTECTED]
cache_effective_user squid
cache_effective_group squid
#log_icp_queries off
#cachemgr_passwd mypassword all
#forwarded_for off
#buffered_logs on
visible_hostname gw.net

Sumber: http://forum.linux.or.id/viewtopic.php?p=3970

centos.jpghttp://www.centos.org/

Hanya empat minggu dibutuhkan tim pengembang CentOS untuk menyelesaikan tiruan atau klon merdeka CentOS 5 terhadap penerbitan Red Hat Enterprise Linux 5. Sejak 12 April 2007 lalu, CentOS 5 masing-masing untuk arsitektur intel/amd, baik untuk platform 32 maupun 64 bit, dalam format ISO untuk CD atau DVD, telah tersedia di sejumlah situs cermin dan bebas diunduh


CentOS akronim dari Community ENTerprise Operating System, dikembangkan sebuah kelompok komunitas kontributor dan pengguna (users) sistem operasi Linux. Pengguna tipikal Centos adalah organisasi dan individu yang tidak terlalu membutuhkan ’strong commercial support’ untuk menjalankan sistemnya dengan sukses. CentOS adalah 100% rebuild kompatibel dengan Red Hat Enterprise Linux (RHEL), dan ‘full compliance’ dengan persyaratan redistribusi Red Hat. CentOS ditargetkan untuk siapa saja yang membutuhkan stabilitas ‘enterprise class operating system stability’ tanpa biaya lisensi dan subscription (layanan dukungan) bila tidak dibutuhkan sertifikasi maupun dukungan dari Red Hat. Pengguna dan komunitas CentOS diklaim aktiv dan tumbuh pesat, sementara pengembangnya menanggapi dengan rebiuld yang cepat, menyediakan errata packages, dan extensiv mirror network. Pengembang yang responsif dengan multiple free support avenues termasuk IRC Chat, Mailing Lists, Forums, dan FAQ.

Sumber: GudangLinux

Comparisons
The Samba server uses TCP to talk to the client, so if you are trying to see if it performs well, you should really compare it to programs that use the same protocol. The most readily available programs for file transfer that use TCP are ftp or another TCP-based SMB server.

If you want to test against something like an NT or Windows for Workgroups server, then you will have to disable all but TCP on either the client or server. Otherwise, you may well be using a totally different protocol (such as NetBEUI) and comparisons may not be valid.

Generally, you should find that Samba performs similarly to ftp at raw transfer speed. It should perform quite a bit faster than NFS, although this depends on your system.

Several people have done comparisons between Samba and Novell, NFS, or Windows NT. In some cases Samba performed the best, in others the worst. I suspect the biggest factor is not Samba versus some other system, but the hardware and drivers used on the various systems. Given similar hardware, Samba should certainly be competitive in speed with other systems.

smb.conf
log level = 1
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
dead time = 15
getwd cache = yes
wide links = no
write cache size = 524288
read raw = yes
write raw = yes
level2 oplocks = true
oplocks = yes
max xmit = 65535