http://www.linuxidc.com/Linux/2016-07/133755.htm
1. 安装ntpdate工具
# yum -y install ntp ntpdate
2. 设置系统时间与网络时间同步
# ntpdate -u ntp.sjtu.edu.cn 202.120.2.101
3. 将系统时间写入硬件时间
# hwclock --systohc
转载于:https://blog.51cto.com/10920161/1961955
http://www.linuxidc.com/Linux/2016-07/133755.htm
1. 安装ntpdate工具
# yum -y install ntp ntpdate
2. 设置系统时间与网络时间同步
# ntpdate -u ntp.sjtu.edu.cn 202.120.2.101
3. 将系统时间写入硬件时间
# hwclock --systohc
转载于:https://blog.51cto.com/10920161/1961955