Changing Timezone in Centos

[root@localhost logs]# date
Thu Jun 23 20:52:10 IST 2016
[root@localhost logs]# ln -s /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime
[root@localhost logs]# date
Thu Jun 23 17:22:59 CEST 2016

 

NOTE:

We need to remove the /etc/localtime if it is already present

 

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 )

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