给客户的服务器时间比现在的快了12个小时,发现是时区错了,得改过来,找了好久终于有一个能用的,感谢 https://blog.csdn.net/anron 的博客
先查看本地时间: date
发现有个EDT,是美国时间
mv /etc/localtime /tec/localtime.bac 备份一下原时间文件
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
date
再次查看发现时间已经变成北京时间了
再次感谢大佬 anron 的分享