linux yum install ntp ntpdate -y
时间同步命令:ntpdate time.windows.com
开机启动: chkconfig ntpd on
查看开机启动:chkconfig --list ntpd ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off