执行下面命令,并按照提示选择“Asia/Shanghai”:
# sudo dpkg-reconfigure tzdata
正常执行结果为:
Current default time zone: 'Asia/Shanghai'
Local time is now: Mon Apr 21 15:44:34 CST 2014.
Universal Time is now: Mon Apr 21 07:44:34 UTC 2014.
执行下面命令,并按照提示选择“Asia/Shanghai”:
# sudo dpkg-reconfigure tzdata
正常执行结果为:
Current default time zone: 'Asia/Shanghai'
Local time is now: Mon Apr 21 15:44:34 CST 2014.
Universal Time is now: Mon Apr 21 07:44:34 UTC 2014.