Change TimeZone on Centos Linux

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
to synchornize your server time with the closest public NTP server.


About piyecarane

Bla bla bla about me
This entry was posted in CPANEL, Linux and tagged , , , , , . Bookmark the permalink.

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

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s