Langsung ke konten utama

Postingan

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

change root password in solaris 10

it is a silly, i change my solaris root password, after that i forgot it. even though it simple, but it quite challenge to change it. well first of all, don't panic. all you have to do is, keep calm and relaxed. then prepare all what should be needed. ok here we are. 1. we need instalation cd. we need this because we have to go to single user mode 2. cable console. I need this, so i can console my sparc solaris, then get the serial command. 3. notebook. this is must, without this, i unable to conle the sparc 4. google. ask with this is more wise 5. sun keyboard. I need this, because i can interupt the server using OBP command. by pressing stop + A we reset the server ok after all we need, here is the step 1. press stop + a, then choose reset 2. after solaris reset, insert the instalation disk. (i use solaris 10, since my solaris was solaris10) 3. after that, do stop +a again, and when ok prompt shown up, boot from cdrom OK> boot cdrom -s wait for a while, until i...

adding disk using logical volume management

1. first , make sure, new hard disk is already detected in your linux box #dmesg | grep disk Vendor: VMware Model: Virtual disk Rev: 1.0 sd 0:0:0:0: Attached scsi disk sda Vendor: VMware Model: Virtual disk Rev: 1.0 sd 0:0:1:0: Attached scsi disk sdb as you can see there are 2 disk device installed. for more detail, we can use fdisk command #fdisk -ls Disk /dev/sda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 2610 20860402+ 8e Linux LVM Disk /dev/sdb: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/sdb doesn't contain a valid partition table here we can see, /dev/sda has already partition, and active. but /dev/sdb not. so we...

Add new ethernet in linux

1. check whether it already detect in kernel or not using dmesg #dmesg | grep net audit: initializing netlink socket (disabled) SELinux: Registering netfilter hooks Initializing IPsec netlink socket VMware vmxnet virtual NIC driver Found vmxnet/PCI at 0x2024, irq 59. SELinux: Unregistering netfilter hooks pcnet32.c:v1.32 18.Mar.2006 tsbogend@alpha.franken.de process `sysctl' is using deprecated sysctl (syscall) net.ipv6.neigh.lo.base_reachable_time; Use net.ipv6.neigh.lo.base_reachable_time_ms instead. Found vmxnet/PCI at 0x20a4, irq 75. as we can see, we find ethernet call vmcnet/pci 2. give alias in /etc/modprobe.conf #vi /etc/modprobe.conf alias eth0 vmnics alias eth1 vmnics as i have already new ethernet before. so i just add new one below the previous one. since newer ethenet is same with before, so the driver possibly same too 3. next step is probe the driver # modprobe eth1 if something goes well there will no error message 4. after that, try check using ifconfig # ifconf...

Menambahkan disk SAN di solaris

untuk mengenalkan disk SAN di solaris 1. pake command cfgadm -la 2. kalo dah kedetek, push supaya bisa baca file /kernel/drv/sd.conf update_drv -f sd ...3. supaya nda perlu restart devfsadm -C 4. trus, cek dan beri label format 5. setelah di format buat file systemnya newfs /dev/dsk/c4t4d4s6 6. terakhir di mount mount -F /dev/dsk/c4t4d4s6 /data 7 selesai