Distributions
› Ubuntu
› Fedora
› CentOS
中文资源站
› 网易开源镜像站
qceytzn
V2EX  ›  Linux

Linux 系统如何与国际标准时间同步?需要安装专门的程序还是系统里有现成的命令?

  •  
  •   qceytzn · Mar 7, 2017 · 3152 views
    This topic created in 3538 days ago, the information mentioned may be changed or developed.
    14 replies  •  2017-03-08 11:49:52 +08:00
    kslr
    kslr
    Mar 7, 2017
    1
    可以看看 ntp 的资料
    knightdf
    knightdf
    Mar 7, 2017
    2
    ntpdate xxx
    doubleflower
    doubleflower
    Mar 7, 2017❤️1
    3
    如果系统是 systemd 的话只要

    timedatectl set-ntp true

    就行。
    findex
    findex
    Mar 7, 2017
    4
    helloccav
    helloccav
    Mar 7, 2017
    5
    @knightdf
    @kslr
    我也搭车求助一下,ntpdate 是立即同步同间,听说 NTPD 可以平滑同步时间,但是 NTPD 似乎要同时安装客户端和服务器端,比较麻烦,请问有什么简单的方法可以平滑同步吗?
    momocraft
    momocraft
    Mar 7, 2017
    6
    ntpd 不需要很多设置, centos7 中装 ntpd 包,然后 `systemctl enable ntpd` 即可。
    qian19876025
    qian19876025
    Mar 7, 2017
    7
    下一次超级 dos 大炮 非 NTPD 莫属 听朋友说他们 的摄像头处于成本考虑直接把 RTC 芯片给去掉了
    qceytzn
    qceytzn
    OP
    Mar 7, 2017
    8
    @knightdf debian 8 ,“未找到命令”??
    qceytzn
    qceytzn
    OP
    Mar 7, 2017
    9
    @doubleflower 这个不错,运行之前特地打开时间设置的窗口,运行这个命令之后眼看着系统的时间往前跳了一分钟,立竿见影的对准了
    likuku
    likuku
    Mar 7, 2017
    10
    @qceytzn apt-get install ntp 就可以了。
    zent00
    zent00
    Mar 7, 2017 via iPhone
    11
    搜索关键词 Ntp 或 Chrony
    ToughGuy
    ToughGuy
    Mar 7, 2017
    12
    能先用搜索引擎么。

    关键词: "linux 时间 同步"

    不管是百度还是 google 都能给你准确答案的。
    wizardoz
    wizardoz
    Mar 7, 2017
    13
    系统服务 ntp ,既可以同步本机时间,又可以提供给别人同步。现在的发行版一般都已经有了。
    wgf2008
    wgf2008
    Mar 8, 2017
    14
    ntp 解决
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2107 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 12:20 · PVG 20:20 · LAX 04:20 · JFK 07:20
    ♥ Do have faith in what you're doing.