Blogger Information
Blog 81
fans 1
comment 0
visits 124081
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
linux 服务器时间矫正。
有什么是忘不了的的博客
Original
1319 people have browsed it

在开发中很多时候都会从服务器获取时间来用,如果服务器时间不准确就会很糟糕。

 1、安装ntpdate

        yum install ntpdate

2、时间矫正,这是和windows提供的时间网站进行矫正。

         ntpdate time.windows.com

3、如果第二步报错。

    报错信息:the NTP socket is in use, exiting

    解决方法:

    service ntpd stop

    在执行第二步就可以了。


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post