zoukankan      html  css  js  c++  java
  • centos时间同步问题

    1 #  tzselect
    2 
    3 根据提示选择:5 --> 9-->1-->1-->ok
    4 
    5 rm /etc/localtime
    6 
    7 ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
     
    2、时间同步问题排查方法 

    在一台centos最小化安装的机器上面,yum -y install ntpdate安装ntpdate同步时间。

    然而执行ntpdate -u ntp.sjtu.edu.cn的时候,死活调不了时间。并报以下错误

    1 30 Oct 23:30:56 ntpdate[8200]: no server suitable for synchronization found

    执行:ntpdate -d ntp.sjtu.edu.cn 命令调试的时候,出现一下信息:

  • 相关阅读:
    hdu 4460spfa用map来实现
    hdu 2579
    hdu 2845
    hdu 4462
    hdu 4557
    hdu 4639
    URAL 2078 Bowling game
    UVA
    HDU 5773 The All-purpose Zero 脑洞LIS
    Codeforces Round #368 (Div. 2) C. Pythagorean Triples 数学
  • 原文地址:https://www.cnblogs.com/sshcy/p/10615282.html
Copyright © 2011-2022 走看看