Centos 配置NTP

Centos 配置ntp

timedatectl set-timezone Asia/Shanghai
timedatectl set-ntp yes
yum install -y ntpdate
ntpdate cn.ntp.org.cn
crontab -e
*/1 * * * * ntpdate cn.ntp.org.cn
*****
Written by ysicing on 03 November 2017