Software Development

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.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

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

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s