ubuntu搭建时间同步服务器

原创
2014/09/04 17:18
阅读数 1.4K

1.# apt-get install ntp

2.# vi /etc/ntp.conf

增加如下:

restrict 127.0.0.1

restrict 10.91.0.0(改成你的ip地址) mask 255.255.255.0 nomodify

server  127.127.1.0     # local clock

fudge   127.127.1.0 stratum 10

3.# /etc/init.d/ntp restart


展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
0 评论
0 收藏
0
分享
返回顶部
顶部