直接执行:sudo yum install ntp或者sudo -y install ntp