PDA

View Full Version : HOWTO :: Change Time Zone


royong
26-10-2006, 22:25
Disclaimer :: The following has been successfully carried out on RHEL/CentOS machines

Log into the server and as ROOT perform the following :-

Change in the correct directory
# cd /usr/share/zoneinfo

Backup the existing timezone information currently set on the machine
# cp /etc/localtime /etc/localtime-old

Copy the correct timezone information into the /etc/localtime file
# cp Singapore /etc/localtime

Carry out clock synchronization
# /usr/bin/rdate -s time.nist.gov
# /sbin/hwclock --systohc

Run the following to check the new date, time and timezone information
# date