1.配置server主机:
①server主机的主机名称为 ntp_server.example.com
reboot重启
②server主机的IP为: 172.25.254.100
③server主机的时间为1984-11-11 11:11:11
先关闭时间同步服务
设置时间为1984-11-11 11:11:11

④配置server主机的时间同步服务要求可以被所有人使用
重启服务
2.设定clinet主机要求如下
①client主机的IP为:172.25.254.200

②client主机的主机名称为: client.example.com

③同步172.25.254.100主机的时间到达本机
更改配置文件
使用172.25.254.100的时间同步