Langsung ke konten utama

Postingan

Bind DNS Graph in Cacti

In My Previous tutorial, Menampilkan hasil DNS query pada cacti I tried to graph my bind dns server in cacti. At the moment, I usedBind version 4.3. By the time, ISC (Consorcium that create bind) always update this software. Usually, they update because of found bug, improve perfomance, hardware support, and other. Until now, Bind version is 10. but currently, I still use bind 9.8. it seems that, after bind 9.4, ISC change mayor update in thebind version. because of this, my tutorial for bind 9.3.4 did not compatible anymore for latest bind. I have tried to search in internet,googling, find the forum, but still not successfull.  And fortunately, 5 days ago, I tried to access cacti forum. found the new way to graph new bind version in cacti. for the forum, you can see at this link : http://forums.cacti.net/viewtopic.php?f=12&t=45926&start=0 Because of my couriousity, I tried to make graph my bind. Oh ya, I run my dns server in Linux (RHEL 5.5) I think ou can run...

extend disk via command :

Extend disk via command : I  assume the disk is recognize in my linux box is  : /dev/dsc1 and here are the steps 1. format disk #fdisk /dev/sdc #Command (m for help): n #Command (m for help): w 2. extend volume group disk using lvm vgextend VolGroup00 /dev/sdc1 3. extend disk to volume group lvextend -L +199G /dev/VolGroup00/LogVol00 4. make change permanent resize2fs /dev/VolGroup00/LogVol00 last, check using df utility : # df -h Filesystem                                               Size  Used Avail Use% Mounted on /dev/mapper/VolGroup01-LogVol00      5.8G  3.0G  2.5G  56%         / /dev/mapper/VolGroup01-LogVol01      961M   18M  895M   2%      /home /dev/mapper/VolGroup00-LogVol00...

always show icmpSend: send: (96) Destination address required

this is another history that i use squid. after install squid on my solaris box. i'm facing another problem. my cache.log always show warning like this, 2010/12/28 18:22:01| icmpSend: send: (96) Destination address required 2010/12/28 18:22:02| icmpSend: send: (96) Destination address required 2010/12/28 18:22:02| icmpSend: send: (96) Destination address required 2010/12/28 18:22:02| icmpSend: send: (96) Destination address required 2010/12/28 18:22:03| icmpSend: send: (96) Destination address required oh no, with this, i can not see more information in log. I have to find why this happen, and how to make this solve. after asking to friend and also googling it, I found the problem. problem come from file that call pinger. this is one of squid program that you can find in libexec directory. by default, this program is in read and executable permission. so, it need to be change into 4555 permission. here is the step go to libexec on your squid directory, and make sure ...

Problem running out of filedescriptors

This time, I would like tell how we handled running out of filedescriptors on squid. as we know, squid is a proxy server. as a proxy server, squid will try to cache all web that access by client. for the server which handle so much client, there will be problem with file descriptor. as far as i know, by default, today operating system could handled 1024 file descriptor, and squid follow by default that rule. you can see how much your operating system handled maximum file open by using ulimit command ulimit -Hn 65536 right now, I use solaris 10. for x86 operating system. If I run ulimit command, it will show 65536. that's mean, my server can handled maximum 65536. but yesterday, i got my squid log warning like this WARNING! Your cache is running out of filedescriptors well searching on google, I found that i have to recompiled my squid. preety weird you know, since I 'm not compile squid from the source. I use webstack squid. so, I tried to add single script on squid....

cara membuat paket rpm di redhat/fedora/centos secara offline

ini langkah-langkahnya ... untuk yang ingin install paket nya secara offline 1. buat direktory sendiri # mkdir /usr/local/paket # cd /usr/local/paket 2. download dulu paket rpm nya (ambil dari kambing.vlsm.org) # wget -r [url]http://kambing.vlsm.org/centos/5.4/[/url] 3. setelah download selesai, buat file baru di /etc/yum.repos.d/ contohtnya spt ini more /etc/yum.repos.d/update.repo [master] enabled = 1 name = master centos baseurl = file:///usr/local/paket/master [update] enabled = 1 name = update si centos baseurl = file:///usr/local/paket/centos/kambing.vlsm.org/centos/5.4/centosplus/ i386/ gpgcheck = 0 [update1] name=update2 enabled=1 baseurl=file:///usr/local/paket/centos/kambing.vlsm.org/centos/5.4/extras/i386/ [update2] name=update3 enabled=1 5. setelah selesai, jalankan command yum check-update done

Pidato Bung Karno

Kalau kita lapar itu biasa Kalau kita malu itu juga biasa Namun kalau kita lapar atau malu itu karena Malaysia, kurang ajar! Kerahkan pasukan ke Kalimantan hajar cecunguk Malayan itu! Pukul dan sikat jangan sampai tanah dan udara kita diinjak-injak oleh Malaysian keparat itu Doakan aku, aku kan berangkat ke medan juang sebagai patriot Bangsa, sebagai martir Bangsa dan sebagai peluru Bangsa yang tak mau diinjak-injak harga dirinya. Serukan serukan keseluruh pelosok negeri bahwa kita akan bersatu untuk melawan kehinaan ini kita akan membalas perlakuan ini dan kita tunjukkan bahwa kita masih memiliki Gigi yang kuat dan kita juga masih memiliki martabat. Yoo...ayoo... kita... Ganjang... Ganjang... Malaysia Ganjang... Malaysia Bulatkan tekad Semangat kita badja Peluru kita banjak Njawa kita banjak Bila perlu satoe-satoe! Soekarno.

Cara membangun DNS Filter (mari berantas pornografi)

Kebutuhan : 1. dns server, pilihan yang baik menggunakan powerdns, karena saya rpm base, maka silakan di download di : http://downloads.powerdns.com/releases/rpm/pdns-static-2.9.22-1.i386.rpm download powerdns sebagai authoritative server 2. linux box, pastinya. 3. database situs-situs yang ingin di blok, bisa didownload di http://urlblacklist.com/cgi-bin/commercialdownload.pl?type=download&file=bigblacklist pilih situs porno 4. web server saya asumsikan di sini, kita akan menyimpan databasenya dalam bentuk file. powerdns bisa menyimpannya dalam database, salah satu yang telah saya coba adalah mysql. namun pada tutorial ini, yang saya bahas adalah menggunakan file. di dalam database tersebut, terdapat kategori porn, nah pilih kategori tersebut. lalu pilih file domain. ide dari dns filtering ini adalah "memaksa" suatu domain, katakanlah situs porno tadi, ke suatu ip yang telah kita assign. ip tersebut, bisa di server dns filter ini. misalnya dns filter...