|
用于服务器,没有安装图形界面
现在java读取的时间始终比实际时间多8小时
现在系统的设置:
#
# /etc/default/rcS
#
# Default settings for the scripts in /etc/rcS.d/
#
# For information about these variables see the rcS(5) manual page.
#
# This file belongs to the "initscripts" package.
TMPTIME=0
SULOGIN=no
DELAYLOGIN=no
UTC=yes
VERBOSE=no
FSCKFIX=no
RAMRUN=no
RAMLOCK=no
在这里,UTC无论设置成yes或no,时间都始终差8小时 |
|