时区提示必须为CST时,时区修改:
查看系统时间:date
设置系统时间:date –s“2017-02-28 15:08:35”
时区变更: dpkg-reconfigure tzdata 请选择亚洲中国上海
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
选择完成后需要拷贝时区文件,然后重启服务器(注意空格位置)
同步网络时间:ntpdate xx.xx.xx.xx
ntpdate time.windows.com