安装CentOS和Win7双系统后时间错乱的解决方法

1. 安装ntpdate

  yum install ntpdate

2. 拷贝/usr/share/zonesinfo/Shang到 /etc/localtime

  su

  cp /usr/share/zonesinfo /etc/localtime

3. 停用ntpd服务

  service stop ntpd

4. 使用ntpdate更新时间

  ntpdate cn.pool.ntp.org

posted on 2015-09-08 08:07  行痴  阅读(270)  评论(0编辑  收藏  举报

导航