Centos6.6 系统时间及时区校准方法

Centos6.6 系统时间及时区校准方法:

1)chkconfig --list|grep ntp【检查ntp服务是否开启】

1.没有ntpdate 要yum install ntp(rqm �qa ntp装完检查)

2.安装完成以后,继续step2

2)chkconfig --level 3 ntpdate on【开机自启ntpdate自动更新时间服务】

3)chkconfig --list|grep ntp【检查服务是否开启】

4 )ntpdate -s time.windows.com

clock【更新系统时间并检查】

5)grep ntpdate -s time.windows.com /etc/sysconfig/clock【写入开机启动项】

相关文章

文章浏览阅读903次。4.清除缓存目录(/var/cache/yum)下的软件...
文章浏览阅读1.5k次。Python 是一种高级解释性编程语言,已被...
文章浏览阅读2.6k次。打开终端或控制台,以root或具有sudo权...
文章浏览阅读744次,点赞24次,收藏26次。目标:通过AppSrv为...
文章浏览阅读1.1w次,点赞8次,收藏26次。chmod命令来自于英...
文章浏览阅读1.2k次。yum源的URL地址,本例中是文件系统的路...