Linux时间与系统时间相差8小时的解决办法
原因是时区不同
在/etc/profile文件中增加一行 export TZ='CST-8'
使文件立即生效
source /etc/profile 或者 . /etc/profile
说明:此方法在vagrant虚拟机中有效果,其他有待验证。
原因是时区不同
在/etc/profile文件中增加一行 export TZ='CST-8'
使文件立即生效
source /etc/profile 或者 . /etc/profile
说明:此方法在vagrant虚拟机中有效果,其他有待验证。