#服务端
yum install -y ntp vi /etc/ntp.conf logfile /var/log/ntp.log #添加以下2行,防止出现客户端no server suitable server 127.127.1.0 fudge 127.127.1.0 stratum 10 systemctl restart ntpd systemctl enable ntpd ntpq -p ntpdc -c sysinfo
参考资料
http://www.thegeekstuff.com/2014/06/linux-ntp-server-client/
http://www.linuxidc.com/Linux/2014-01/95258.htm
http://xiahongyuan.blog.51cto.com/906214/939815
http://blog.sina.com.cn/s/blog_539438c70101j3z7.html
http://blog.youkuaiyun.com/love_life2011/article/details/8067652
转载于:https://blog.51cto.com/eafan/1712585