1、使用yum安裝ntpdate軟體包 [root@localhost ~]# yum install -y ntpdate 2、使用Liunx定時任務進行一定時間的更新 使用指令crontab -e編輯添加以下内容