Info Mudik - Peta Mudik 2008

Buat Teman-teman yang ingin mudik pada tahun ini,ada beberapa peta yang mungkin bermanfaat buat di jalan


1. Peta Mudik 2008


2. Peta Mudik Jawa - Sumatera

3. Selamat Mudik .....

Berhati-hatilah dalam perjalanan, patuhi rambu-rambu lalu lintas agar selamat sampai ke tujuan
Amiin...

Read more...

Update Ubuntu Linux

Update Repositori adalah hal sangat di butuhkan pada sistem operasi ubuntu, apalagi bagi yang terbiasa suka bongkar pasang software "Anyar". Dimana biasanya software anyar tersebut sering gagal saat di install. nah tuh tanda-tanda kalau repositori anda perlu di update...


Cara mengupdate repositori ubuntu sebenar nya cukup mudah
Jalankan perintah

#sudo gedit /etc/apt/sources.list
kemudian hapus semua, dan isikan sesuai dengan berikut
deb http://kambing.ui.edu/ubuntu hardy main restricted universe multiverse
deb http://kambing.ui.edu/ubuntu hardy-updates main restricted universe multiverse
deb http://kambing.ui.edu/ubuntu hardy-security main restricted universe multiverse
deb http://kambing.ui.edu/ubuntu hardy-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy universe
deb http://kambing.ui.edu/ubuntu hardy-proposed main restricted universe multiverse
Maka akan terlihat seperti gambar berikut



Kemudian jalankan Perintah update

#sudo apt-get update

jika berhasil akan tampak seperti gambar berikut




#selesai... ;)

Read more...

Info mudik 2008

Buat teman-teman yang pengin mudik, jangan lupa segala sesuatunya harus dipersiapkan secara matang. Apalagi diperjalanan dibutuhkan ketahanan fisik dan konsentrasi yang tinggi.


Buat kenyamanan para pemudik dalam perjalanan, maka di butuhkan sebuah peta yang dapat dihandalkan untuk memandu perjalanan. Peta mudik biasanya sangat membantu para pemudik agar tidak tersasar, apalagi tersesat..

Selamat Mudik...

Read more...

Tuning Kernel FreeBSD for optimation Squid

For optimation Squid Proxy with FreeBSD is tuning the kernel with some following option.

options MAXFILES=4096
options NMBCLUSTERS=10240

options MSGMNB=16384
options MSGMNI=42
options MSGSEG=2049
options MSGSSZ=64
options MSGTQL=2048

options SHMSEG=64
options SHMMNI=96
options SHMMAX=2097152
options SHMALL=4096

options MAXDSIZ="(384*1024*1024)"
options DFLDSIZ="(384*1024*1024)"
options MAXSSIZ="(256*1024*1024)"


also for mountimg partition cache in /etc/fstab is better if add the option noatime
For Configure options same within Linux, Optimalisation cache_dir with option diskd

In sysctl.conf add this option

kern.maxusers=384
kern.ipc.nmbuf=20480
kern.ipc.nmbclusters=32768
vfs.vmiodirenable=1
kern.ipc.maxsockbuf=2097152
kern.ipc.somaxconn=8192
kern.ipc.maxsockbuf=1048576
kern.ipc.maxsockets=16424
kern.maxfiles=65536
kern.maxfilesperproc=32768
net.inet.tcp.rfc1323=1
net.inet.tcp.delayed_ack=0
net.inet.tcp.sendspace=65535
net.inet.tcp.recvspace=65535
net.inet.udp.recvspace=65535
net.inet.udp.maxdgram=57344
net.local.stream.recvspace=65535
net.local.stream.sendspace=65535
net.inet.icmp.icmplim=300
net.inet.icmp.icmplim_output=0
net.inet.tcp.delayed_ack=0
net.inet.ip.portrange.last=40000

Or if your kernel will to compile, maybe this value can to encrease until 70 % or approriate with your memori computer. this configuration for sample for memory computer 512MB, once again if the computer dedicated for squid ;)

options MAXFILES=4096
options NMBCLUSTERS=10240

options MAXDSIZ="(384*1024*1024)"
options DFLDSIZ="(384*1024*1024)"
options MAXSSIZ="(256*1024*1024)"

become for :

maxusers 384
options NBUF=20480
options MAXFILES=65536
options NMBCLUSTERS=32768
options MAXDSIZ="(640*1024*1024)"
options DFLDSIZ="(640*1024*1024)"
options MAXSSIZ="(512*1024*1024)"

(mungkin jika setelah berjalan 1 bulan dg beban penuh dan ternyata memori belum mulai swap ke hardisk angkanya bisa dinaikkan lagi mjd 768,768,640, tapi jangan setinggi memori fisiknya lho)

dg opsi kompilasi (optimasi):

COPTFLAGS="-O2 -pipe"

dan semua module masuk ke kernel (NO_MODULES=true) (NFS, mouse, usb, pseudo device, debug/verbose support, dll/non-esensial jika memang tidak diperlukan dimatikan saja biar jadi 'extra langsing dan singset' kayak atlit sprinter, he he he ...).

Terus layanan non-esensial dimatikan saja, cron, inetd, and sendmail, dll di /etc/rc.conf (dari contoh Squid bake-off). http://www.squid-cache.org/Benchmarking/bakeoff-02/SQUID.txt. Kalau bisa periferal yg tidak diperlukan dimatikan juga di BIOS-nya (mis. serial/parallel port, dll).

Terus yg ini nemu di milis tapi saya pribadi belum pernah mencoba (copy-n-paste saja ya, he he ) dan tinggal disesuaikan saja setelah dihitung ulang (kira2 angka2 di atas benar nggak ya?) :




Tambahan Dari Forum
Klo itu sudah sejak awal pak
# Options to accelerate Squid
/sbin/sysctl -w vfs.vmiodirenable=1
/sbin/sysctl -w kern.ipc.somaxconn=8192
/sbin/sysctl -w net.inet.tcp.delayed_ack=0
/sbin/sysctl -w net.inet.ip.portrange.last=4000
/sbin/sysctl -w kern.maxfiles=65536
/sbin/sysctl -w net.inet.tcp.sendspace=65535
/sbin/sysctl -w net.inet.tcp.recvspace=65535

# extra
/sbin/sysctl -w kern.ipc.maxsockbuf=2097152
/sbin/sysctl -w kern.ipc.maxsockets=16424
/sbin/sysctl -w kern.maxfilesperproc=32768
/sbin/sysctl -w net.inet.tcp.rfc1323=1
/sbin/sysctl -w net.inet.udp.recvspace=65535
/sbin/sysctl -w net.inet.udp.maxdgram=57344
/sbin/sysctl -w net.local.stream.recvspace=65535
/sbin/sysctl -w net.local.stream.sendspace=65535
/sbin/sysctl -w net.inet.tcp.blackhole=2
/sbin/sysctl -w net.inet.udp.blackhole=1

#streamingan
http://www.bjoern-gaul.de/content/edv-fragen/squid-stream.htm

Read more...

Workshop Wireless Security

Hari ini adalah hari kedua pelatihan wireless security, menyenangkan sekaligus melelahkan.
Materi hari pertama diisi dengan intro dari Mas Joshua tentang penting nya keamanan wireless


Materi hari kedua diisi dengan pengenalan Captive Portal chillispot sekaligus melakukan configurasi terhadap server.
Materi hari ini sebenarnya tidak banyak hanya


1. Pengenalan Chillispot
2. Pengenalan Radius Server

Untuk hari ketiga besok saya ceritain lagi ya ;)

Read more...

Install Squid Proxy Server on Debian Etch

This is not a tutorial to install squid, this is a notes from my experience when install squid on Debian Etch

#apt-get install squid3

if no error when instalation, continued with make squid configuration. the name of file configuration is squid.conf

back-up your old squid.conf

#cd /etc/squid3
#mv squid.conf squid.conf.old
#nano squid.conf


hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 6 MB
cache_swap_low 98
cache_swap_high 99
maximum_object_size 128 MB
maximum_object_size_in_memory 32 KB
fqdncache_size 2048
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
store_dir_select_algorithm round-robin
cache_mgr upt@amikom.ac.id
cache_dir ufs /cache1 3000 8 256
cache_dir ufs /cache2 3000 8 256
cache_log /dev/null
cache_store_log /dev/null
mime_table /usr/local/squid/etc/mime.conf
pid_filename /usr/local/squid/var/logs/squid.pid
emulate_httpd_log off
log_mime_hdrs off
log_fqdn off
log_ip_on_direct off
logfile_rotate 1
log_icp_queries off
client_netmask 255.255.255.255
unlinkd_program /usr/local/squid/libexec/unlinkd
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
refresh_pattern ^ftp: 10080 95% 241920 reload-into-ims override-lastmod
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 180 95% 120960 reload-into-ims override-lastmod
quick_abort_min 0
quick_abort_max 0
quick_abort_pct 98
memory_pools off
reload_into_ims on
pipeline_prefetch on
vary_ignore_expire on
cache_effective_user squid
cache_effective_group squid
#coredump_dir /usr/local/squid/var/cache
visible_hostname cache.campus.edu
acl all src 0.0.0.0/0.0.0.0
acl lab src 202.9.56.3/24
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow manager
http_access allow lab
http_access deny all
icp_access allow all

#squid3 -k parse
#squid3 -z
#/etc/init.d/squid restart

then look the view log squid with tail command

#tail -f /var/log/squid/access.log

if succes will show log your client access internet

Read more...

  © Blogger template The Professional Template by Ourblogtemplates.com 2008

Back to TOP