Category Archives: Linux

Install VMware-tools CentOS 6 on VMware ESXi 5.1


Procedure:
1. Open a command window in the guest operating system, obtain and import the VMware Packaging Public Keys.
# mkdir /opt/vmtools-key ; cd /opt/vmtools-key
# wget http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub
# wget http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub
# rpm --import VMWARE-PACKAGING-GPG-RSA-KEY.pub
# rpm --import VMWARE-PACKAGING-GPG-DSA-KEY.pub

Continue reading

Troubleshooting bind named[xxxx]: error (failure) resolving on CentOS 6.2


Beberapa hari yang lalu DNS internal Bind 9.8 CentOS 6.2 ngadat tidak mau resolve request, jadi gak bisa connect internet…
Cek di error message /var/log/messages terlihat named[3693]: error (failure) resolving bla bla bla

Setelah googling ketemu solusinya, katanya disuruh disable dnssec, entah kenapa dnssec membuat bind jadi error..

Berikut langkah-langkah yang saya lakukan:
1.Comment parameter-parameter dnssec di named.conf

/*dnssec-enable yes;*/
/*dnssec-validation yes;*/
/*dnssec-lookaside auto;*/

 
2.Restart named service
# /etc/init.d/named restart

Done! Seharusnya DNS server berfungsi normal seperti semula..

Setup Squid Tproxy Bridge CentOS 6.3


Skenario:
Router bandwidth management:192.168.99.1 — eth0:[Squid TPROXY Bridge(br0=192.168.99.15)]:eth1 — clients:192.168.99.x/24

 
I. Konfigurasi Network interfaces
-Install bridge-utils
# yum -y install bridge-utils

-Make bridge interface br0 then save
# vi /etc/sysconfig/network-scripts/ifcfg-br0

DEVICE=br0
ONBOOT=yes
TYPE=Bridge
BOOTPROTO=static
IPADDR=192.168.99.15
NETMASK=255.255.255.0
GATEWAY=192.168.99.1
DNS1=192.168.99.5
DNS2=192.168.99.6
DNS3=192.168.99.1

Continue reading

Setup slave DNS server bind chroot CentOS 6


Skenario:
Primary DNS : 192.168.99.5
Slave DNS : 192.168.99.6

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

127.0.0.1	localhost.localdomain	localhost.localdomain	localhost4	localhost4.localdomain4	localhost	ns2
::1	localhost.localdomain	localhost.localdomain	localhost6	localhost6.localdomain6	localhost	ns2
192.168.99.6	ns2.bachem.local	ns2

III. Install & Setting Bind chroot for DNS Server
-Install Bind chroot
# yum -y install bind bind-chroot

Continue reading