CentOS6更新系统时间

# 设置时区
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
# 安装ntpdate
yum -y install ntpdate
# 联网更新时间,如果成功,将系统时间写入BOIS
ntpdate time.windows.com && hwclock -w
原文地址:https://www.cnblogs.com/lantor/p/11644274.html