Redhat 7 ntp(时间同步)客户端配置


# vi /etc/chrony.conf


server  aa.ming.com    iburst  


:wq


注:aa.ming.com是ntp服务器名,也可写ip,默认的ntp服务器要注释掉


# systemctl restart chronyd

# systemctl enable chronyd



手动同步命令:


# ntpdate -u aa.ming.com