Set Local Time on Ubuntu Server

To set an Ubuntu server instance to local time, simply type this command:
sudo dpkg-reconfigure tzdata

You’ll be greeted by a similar screen to this one (as of this post, I’m running Linux ubuntu-xenial 4.4.0-93-generic/ Ubuntu 16.04.2 LTS):

Linux Timezone Setting
Linux Timezone Setting

Select your geographic region and then your city/region corresponding to your timezone.

 

Leave a Reply

Your email address will not be published. Required fields are marked *