Changing VPS Timezone

05 April 2012 03:46:48 WIB, under category Technical Stuffs

One of many things that you probably do when managing a VPS is setting up date and time to match your local date and time. Here’s a quick guide to change your VPS’ timezone.

You can find your own timezone at /usr/share/zoneinfo/ and copy it to /etc/localtime. Here’s the magic spell:

[server]# cp /usr/share/zoneinfo/Asia/Jakarta /etc/localtime

Of course you have to change that Asia/Jakarta thing into your own timezone.

The date command output before I change its timezone:

[server]# date
Wed Apr  4 16:34:20 EDT 2012

And this is after:

[server]# date
Thu Apr  5 03:36:05 WIT 2012

Tic.. tac.. tic.. tac..

No comments yet, dooh!

Wohaa, no comments yet. You can say Pertamax :p

RSS for comments TrackBack URL

Leave a comment or two

Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>