Monthly Archives: December 2011

Setup Slave DNS bind chroot CentOS 5


I. Skenario:
Primary DNS :
Secondary DNS (Mirror) :

II. Edit /etc/hosts
# vi /etc/hosts

# Do not remove the following line, or various programs
# that require network functionality will fail. localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6 kucing

III. Edit /etc/resolv/conf


Continue reading

Setup bind chroot CentOS 5


-Install Bind
# yum -y install bind bind-chroot bind-libs bind-utils caching-nameserver

-Konfigurasi Permision
# chmod 755 /var/named/
# chmod 775 /var/named/chroot/
# chmod 775 /var/named/chroot/var/
# chmod 775 /var/named/chroot/var/named/
# chmod 775 /var/named/chroot/var/run/
# chmod 777 /var/named/chroot/var/run/named/
# cd /var/named/chroot/var/named/
# ln -s ../../ chroot
# cp /usr/share/doc/bind-9.3.6/sample/var/named/named.local /var/named/chroot/var/named/named.local
# cp /usr/share/doc/bind-9.3.6/sample/var/named/named.root /var/named/chroot/var/named/named.root
# touch /var/named/chroot/etc/named.conf

-Setting RNDC
# cd /var/named/chroot/etc
# rndc-confgen > rndc.key
# chown root:named rndc.key
Continue reading

Upgrade PC 2011

Sudah 3 tahun PC lama setia menemani di rumah..abis dapet bonus akhir tahun 😀 saatnya upgrade PC.
Untuk casing, PSU, VGA Card, Hardisk menggunakan komponen lama..

List spare parts yang ane upgrade:

No Komponen Model Harga IDR
Date of buy
1 Mainboard Biostar TZ68A+ 1,118,000 5-Nov-11
2 Processor Intel Core i3 2100 @3,1Ghz 1,019,000 5-Nov-11
3 Memory Kingston DDR3 4GB 231,000 5-Nov-11
4 Memory Kingston DDR3 4GB 210,000 26-Nov-11
5 Case Fan Deepcool 12cm Fan Red Led 47,000 26-Nov-11
6 Card Reader Card Reader Internal 35,000 26-Nov-11
7 Case Fan Cooler Master MEGAFLOW 200MM SILENT FAN Red LED 128,000 02-Dec-11
8 Processor Cooling Deepcool Ice Edge 400 FS LGA775/1156/AMD 196,000 10-Dec-11
9 Case Fan Deepcool 12cm Fan Red Led 41,000 02-Dec-11
10 Headset PHILIPS SHM 1900 139,000 02-Dec-11
11 Memory Corsair CMV4GX3M1A133C9 DDR3 4GB 196,000 22-Dec-11
12 Memory Corsair CMV4GX3M1A133C9 DDR3 4GB 196,000 22-Dec-11
Total: 3,556,000

Continue reading

How to Delete/Move a Protected OU in Active Directory


Note: Im using WIndows Server 2008 R2

1) Log on to the computer as built in administrators group or Domain Admins group.
2) Open Active Directory Users and Computers.
3) Click View, and then click Advanced Features.

4) Right-click > Properties on the object of choice, navigate to the Object Tab, then untick Protect object from accidental deletion >> click OK

5) Delete or Move the object that you want to delete or moving.

Restart or shutdown Windows via Remote Desktop

-The easiest way to restart or shutdown Windows machine when doing remote desktop just press alt + F4

-Another way by type shutdown command in command prompt

Example command to restart in 5 seconds:

shutdown -t 5 -r -f

Example command to shutdown in 5 seconds:

shutdown -t 5 -s -f