#make sure NTPDd runs on reboot so the clock is synchronized
chkconfig ntpd on
#modify clock file:
vi /etc/sysconfig/clock
#and put your zone there, e.g.:
#ZONE="America/New_York"
ZONE="Asia/Jerusalem"
#UTC=True
UTC=False
#backup previous 'localtime ' file
mv /etc/localtime /etc/localtime.original
# and create a link to the zone file you've selected:
ln -s /usr/share/zoneinfo/Asia/Jerusalem /etc/localtime
# now verify that 'date' shows teh desired timezone [Israeli time (IST)]
date
Saturday, February 15, 2014
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment