安装
yum update
yum install ntp
设置开机自启
systemctl enable ntpd
操作 NTP 服务器
# 启动
systemctl start ntpd
# 停止
systemctl stop ntpd
# 查看状态
systemctl status ntpd
yum update
yum install ntp
systemctl enable ntpd
# 启动
systemctl start ntpd
# 停止
systemctl stop ntpd
# 查看状态
systemctl status ntpd