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就解决。
一往无前虎山行,拨开云雾见光明

浙公网安备 33010602011771号