linux 时间同步问题

1.  如何让linux的时间与互联网保持一致?

      yum install ntp -y

       使用ntpdate命令,与下面的时间服务器同步。

ntp1.aliyun.com
ntp2.aliyun.com
ntp3.aliyun.com
ntp4.aliyun.com
ntp5.aliyun.com
ntp6.aliyun.com
ntp7.aliyun.com

2.  ntpdate同步时间,报错:

      no server suitable for synchronization found

      解决方法:  换个dns就解决。

      

posted @ 2018-02-12 17:44  奋斗史  阅读(129)  评论(0)    收藏  举报