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 命令调试的时候,出现一下信息:

  • 相关阅读:
    a==null和a.equals("null")的区别
    PHP_EOL换行符
    mysql 重启
    异或的用法
    so easy(并查集+unordered_map)
    牛客练习赛51 C 勾股定理
    Period II
    Simpsons’ Hidden Talents
    POJ-1961 Period
    poj-2406 Power Strings
  • 原文地址:https://www.cnblogs.com/sshcy/p/10615282.html
Copyright © 2011-2022 走看看