ntp时间服务器的配置

我有三台服务器
cmone 192.168.59.200
cmtwo 192.168.59.201
cmthree 192.168.59.202
**使用yum 安装 **
yum -y install ntp
设置开机自启并且查看开机自启
chkconfig ntpd on
chkconfig --list ntps
启动ntp服务
systemctl start ntpd
ntp时间服务器的配置
或者centos7以上提供了systemctl管理工具可以使用
systemctl enable ntpd
注意事项:
需要关闭防火墙不然的话防火墙会把ntp服务给屏蔽掉,或者加入iptables
ntp时间服务器的配置
然后配置时间同步服务器成功
ntp时间服务器的配置

上一篇:CentOS 配置阿里云 NTP 服务


下一篇:02-Linux系统的安装