How to change Time zone in Centos ?

Simple steps to change time zone in centos or redhat , in our configuration guide. We are going to show you on below example.

Operating System              : Centos release 6.5 (Final) 32 bit

Current Date and Time (zone)  : EST 2014 (New_York)

Change to : GST 2014 (Dubai)

The sample time zone scripts are locate in (/usr/share/zoneinfo/).

[root@experts ~]# cd  /usr/share/zoneinfo/

[root@experts zoneinfo]# cd asia

[root@experts india]# ls
02

[root@experts zoneinfo]#pwd
/usr/share/zoneinfo/

In order to change the time zone suitable for your region. Copy associated time zone file from /usr/share/zoneinfo/Aisa/FileName to /etc/localtime.

[root@experts zoneinfo]#date
03

[root@experts zoneinfo]# cp –rp /usr/share/zoneinfo/Aisa/Dubai  /etc/localtime

01

Verify time zone setting status

[root@experts ~]#date

Thanks You.

For more Detail you can watch the Video :

 

Both comments and pings are currently closed.

Comments are closed.

Copyright ©Solutions@Experts.com
Copyright © NewWpThemes Techmark Solutions - www.techmarksolutions.co.uk