首页 > 学院 > 网络通信 > 正文

linux系统中ntpdate同步网络日期时间

2019-11-03 23:06:25
字体:
来源:转载
供稿:网友

  命令:

  # ntpdate ip (同步时间服务器ip)

  #hwclock -w //将时间写入硬件

  例子

  ntpdate 210.167.182.10

  同步时间服务器:

  server

  ntp-sop.inria.frserver 210.72.145.44(中国国家授时中心服务器IP地址)

  server ntp.sjtu.edu.cn(上海交通大学网络中心NTP服务器地址)


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表