Thursday, December 8, 2011

Update to Ubuntu Set Timezone Post

Just another reminder on how to quickly set the local timezone on Ubuntu Server.

I had blogged about this previously, but I didn't make it simple enough even for myself, so this is a do-over.


Find your timezone specific file in /usr/share/zoneinfo/America/.

Then run the following three commands:

$ cd /etc
$ mv localtime localtime_orig
$ ln -s /usr/share/zoneinfo/America/tzfilename localtime

Reboot and you're set. Now java defaults to this timezone.

No comments: