分类: LINUX
2010-09-07 10:25:54
Mon 17 Jan 2005 12:15:08 PM PST
, PST in this case is the current timezone./usr/share/zoneinfo
here you will find a list of time zone regions. Choose the most appropriate region, if you live in Canada or the US this directory is the "America" directory.mv /etc/localtime /etc/localtime-old
fourth.
Create a symbolic link to the appropriate timezone from /etc/localtime. Example:
ln -sf /usr/share/zoneinfo/Europe/Amsterdam /etc/localtimefifth.If you have the utility rdate, update the current system time by executing/usr/bin/rdate -s time-a.nist.govsixth.Set the ZONE entry in the file/etc/sysconfig/clock
file (e.g. "America/Los_Angeles")seventh.Set the hardware clock by executing:/sbin/hwclock --systohc