如何解决Linux操作系统下时间错误的问题
内容摘要
设置/etc/rc.conf中的clock 为local
cp /usr/share/zoneinfo/Asia/Shanghai 到 /etc/localtime
date MMDDhhmmYY (月日小时分钟年份)
运行/sbin/hwclock ——dire
cp /usr/share/zoneinfo/Asia/Shanghai 到 /etc/localtime
date MMDDhhmmYY (月日小时分钟年份)
运行/sbin/hwclock ——dire
文章正文
设置/etc/rc.conf中的clock 为local
cp /usr/share/zoneinfo/Asia/Shanghai 到 /etc/localtime
date MMDDhhmmYY (月日小时分钟年份)
运行/sbin/hwclock ——directisa ——systohc (写入硬件,directisa为引导时钟到isa模式)
PS:CST模式调节时间
本文作者:代码注释