Change TimeZone on Centos Linux
January 21, 2009
It’s quite easy to change time zone on centos / linux os :
cp /usr/share/zoneinfo/Asia/Jakarta /etc/localtime
Change Asia/Jakarta into your location. After copying, you can run : ntpdate pool.ntp.org
to synchornize your server time with the closest public NTP server.




October 15, 2009 at 9:50 pm
Great, thanks, it actually took me a little bit of time to find this in google. No other page had information about the ntpdate
October 15, 2009 at 9:54 pm
When I run ntpdate I get the error message:
the NTP socket is in use, exiting
I was able to just run this instead:
service ntpd restart