Category: General

__We can change the TimeZone on linux by creating a symbolic link from the zone file to localtime.__

ln -sf /usr/share/zoneinfo/GMT+0 /etc/localtime

If the timezone is correct and still you are getting the wrong time, then update ntp from RHEL servers using hte following commands:

/etc/init.d/ntpd stop
/sbin/hwclock --systohc

__To change the timezone settings from BST to CEST:

* rm /etc/localtime
* ln -sf /usr/share/zoneinfo/Europe/Warsaw /etc/localtime


How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.