美文网首页
同步Linux系统时间

同步Linux系统时间

作者: 白纸糊 | 来源:发表于2019-01-07 19:04 被阅读0次

运行命令:
service ntpd stop
1、首先运行ntpdate ntp1.aliyun.com或ntpdate 120.24.81.91

可更新当前服务器的时间;

2、还要运行hwclock --systohc

修改服务器映射到我们系统的时间,ok;

相关文章

网友评论

      本文标题:同步Linux系统时间

      本文链接:https://www.haomeiwen.com/subject/ffdprqtx.html