16.04 怎样禁用utc时间

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
linphp
帖子: 1
注册时间: 2016-04-23 7:17

16.04 怎样禁用utc时间

#1

帖子 linphp » 2016-04-23 7:20

我还安装有win10,两个系统总是错时间
用以前的方法无用了。
我只想在ubuntu中改,并不想在win中改注册表

所以打开etc/default/rcS所有项被注释了。adjtime也无法更改?求指点
头像
qy117121
论坛版主
帖子: 50587
注册时间: 2007-12-14 13:40
系统: Winbuntu
来自: 志虚国乌由市
联系:

Re: 16.04 怎样禁用utc时间

#2

帖子 qy117121 » 2016-04-23 9:02

代码: 全选

sudo timedatectl set-local-rtc 1

代码: 全选

$ timedatectl                
      Local time: 六 2016-04-23 09:05:54 CST
  Universal time: 六 2016-04-23 01:05:54 UTC
        RTC time: 六 2016-04-23 09:05:54
       Time zone: Asia/Shanghai (CST, +0800)
 Network time on: yes
NTP synchronized: no
 RTC in local TZ: yes

Warning: The system is configured to read the RTC time in the local time zone.
         This mode can not be fully supported. It will create various problems
         with time zone changes and daylight saving time adjustments. The RTC
         time is never updated, it relies on external facilities to maintain it.
         If at all possible, use RTC in UTC by calling
         'timedatectl set-local-rtc 0'.
渠月 · QY   
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu

邮箱 chuan@ubuntu.org.cn
头像
qy117121
论坛版主
帖子: 50587
注册时间: 2007-12-14 13:40
系统: Winbuntu
来自: 志虚国乌由市
联系:

Re: 16.04 怎样禁用utc时间

#3

帖子 qy117121 » 2016-04-23 9:03

什么情况,论坛时间慢了5分钟
渠月 · QY   
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu

邮箱 chuan@ubuntu.org.cn
回复