新裝系統時間顯示不對,ntpdate更新後還是差着幾個小時.檢視發現時區不對.
[root@zabbix ~]# ntpdate ntp.org
12 Oct 22:45:07 ntpdate[23467]: step time server 128.4.24.98 offset 5.743623 sec
[root@zabbix ~]# date
Mon Oct 12 22:45:15 EDT 2015
[root@zabbix ~]# ll /etc/localtime
lrwxrwxrwx. 1 root root 38 Aug 30 23:27 /etc/localtime -> ../usr/share/zoneinfo/America/New_York
[root@zabbix ~]# ln -s -f /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
lrwxrwxrwx. 1 root root 33 Oct 13 10:49 /etc/localtime -> /usr/share/zoneinfo/Asia/Shanghai
Tue Oct 13 10:50:05 CST 2015
[root@zabbix ~]#