Sunday, July 29, 2007

Setting the Date and Time in Linux

Sinkronisasi time dg time server indonesia.

/usr/sbin/ntpdate id.pool.ntp.org

vi /etc/ntp.conf:

restrict default ignore
restrict 127.0.0.1
server id.pool.ntp.org
driftfile /etc/ntp/drift
broadcastdelay 0.008
authenticate yes
keys /etc/ntp/keys


[root@server /root]# date 092011082001
Thu Sep 20 11:08:00 CDT 2001
[root@server /root]# hwclock --utc --systohc