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.

2 Responses to “Change TimeZone on Centos Linux”

  1. zshakey Says:

    Great, thanks, it actually took me a little bit of time to find this in google. No other page had information about the ntpdate

  2. zshakey Says:

    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


Leave a Reply