How to Change the Time Zone on an Ubuntu Server CodeUnit 17 FEB 2011

It is often quite useful to be able to change the time zone on your Ubuntu server and to do so has become particularly simple. Now that the original command, tzconfig has been deprecated, we turn to the new option:

sudo dpkg-reconfigure tzdata

Running this brings up a blue screen installer prompt that guides you through selecting a new time zone for your server by first selecting a geographic area and then narrowing to a resulting list of cities in that area, with each city representing the time zone in which it is located.

If you aren’t particularly sure on a city time zone to select, you can also set your Ubuntu server time zone to a more direct setting by first selecting the geographic area “Etc” and then choosing from the more generic options like GMT or GMT+2.


About Craig Lotter

Software developer, husband and dad to two young ladies. Writer behind An Exploring South African. I don't have time for myself any more.