http://www.linuxidc.com/Linux/2016-07/133755.htm


  1. 1.  安装ntpdate工具

  2. # yum -y install ntp ntpdate

  3. 2.  设置系统时间与网络时间同步

  4. ntpdate -u ntp.sjtu.edu.cn 202.120.2.101

  5. 3.  将系统时间写入硬件时间

  6. # hwclock --systohc