ntp时间同步服务的配置

 ntp配置

l 设置ntpd服务自动启动

[root@EZSonar app]# chkconfig ntpd on

l 修改server的地址(以客户现场NTP服务为准)

[root@EZSonar app]# vi /etc/ntp.conf

server 202.112.10.36

l  启动ntpd服务

[root@EZSonar app]# service ntpd start

Starting ntpd: [  OK  ]

l  查看ntp的时间同步状态

[root@EZSonar app]# ntpq -np

猜你喜欢

转载自www.cnblogs.com/zhangyunfei-blog/p/9288470.html
今日推荐