Changing the timezone on a Ubuntu server

bash# sudo dpkg-reconfigure tzdata

Then just follow the instructions on the screen to select your time zone.

While we’re at it, let’s sync the time with the atomic clock:

bash# sudo ntpdate pool.ntp.org
10 Mar 09:55:19 ntpdate[23121]: adjust time server 173.8.198.243 offset -0.009830 sec

Tags: ,

Leave a Reply