How to change the timezone on a Ubuntu server

A very simple and quick fix to a rather annoying (especially when searching log files!) issue, is changing the server timezone.

To check your the current date and time on your server, simply run:
$ date

Or alternatively, check the server timezone setting more specifically:
$ more /etc/timezone

Server timezone configuration wizard
How to update your Ubuntu server timezone settings

To update this you’ll need to run through a simple admin screen accessed from:
$ sudo dpkg-reconfigure tzdata

Simples!

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s