Is amazing how sometimes such small issues on linux can frustrate a linux user.
I’m currently reconfiguring a machine on the other side of the globe, so I want to get it to work to IST instead of EST.
A quick google brought up a rather complex way of doing it which sounded really complex to me, so I refined my query and found the same solution in the Ubuntu documentation.
Simply run the following command as root (or using “su”):
sudo dpkg-reconfigure tzdata
And just follow the instructions.
No silly reboots or other craziness required.
To keep your server’s time in sync with the rest of civilisation setup a cronjob to poll an ntp server once every 24 hours:
/usr/sbin/ntpdate yourfavouritentpserveraddress
Problem solved
really cool, i love linux – there are very few times when u actually have to do a reboot after doing something.
Comment by Jonathan — August 2, 2008 @ 1:12 pm
thanks
Comment by hilmy — March 10, 2009 @ 4:18 pm