Linux 服务器时间同步设置

来源:互联网 发布:淘宝美工助理广州 编辑:程序博客网 时间:2024/05/19 21:00

(1):查看 linux服务器 ntp 服务器是否开启

# service ntpd status

(2):开启 服务

# service ntpd start

(3):修改配置 

# vi /etc/ntp.conf

修改 

restrict 192.168.10.0 mask 255.255.255.0 notrust nomodify notrap

192.168.10.0(服务器需要同步的客户端的 ip段)

0 0
原创粉丝点击