How to change ntp timezones on NTP Server (centos/fedora/RedHat)

December 16th, 2009 by @HKw@! | Filed under centos, Fedora, Open Source.

After you setup the NTP server. You will realize that the timezone was changed. The time zone might not same as your country timezone. It is because  pool.ntp.org will assign the timeservers from all over the world, time quality will not be ideal.

You will get better result if you use the continental zones. Just click Here to view the available zone in All Pool serves.

Here i will going to show how to change the timezone on your NTP Server.

1st – Login as the root user

2nd – Now open and edit /etc/ntp.conf

# vi /etc/ntp.conf

3nd – Now i want to add Malaysia timezone to NTP server. Just add the following to your ntp.conf file:

	   server 0.my.pool.ntp.org
	   server 1.asia.pool.ntp.org
	   server 2.asia.pool.ntp.org

4th – Save the ntp.conf file and restart the ntpd service

# service ntpd start

Now you will realize that your timezone was change :-)

Share

Leave a Reply

BlogCatalog