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:
Problem solved 🙂