Wednesday, April 24, 2013

Configure Time Zone for CentOS

$ yum install ntp -y

find out your timezone, as my case I used SGT. (/usr/share/zoneinfo/Asia/Singapore)
$ ll /usr/share/zoneinfo
$ chkconfig ntpd on
$ /etc/init.d/ntpd start

sync the time manually
$ ntpdate pool.ntp.org

No comments:

Post a Comment