最近发现服务器的时间有偏差,所以就修复了服务器的时间。
方法很简单,先用ssh连接你的服务器,然后:
修改日期:
date -s 05/10/2009
修改时间:
date -s 10:18:00
根据当前的时间修改即可。
当然,你也可以同步时间:
ntpdate pool.ntp.org
转自:http://www.lupaworld.com/article-215597-1.html
最近发现服务器的时间有偏差,所以就修复了服务器的时间。
方法很简单,先用ssh连接你的服务器,然后:
修改日期:
date -s 05/10/2009
修改时间:
date -s 10:18:00
根据当前的时间修改即可。
当然,你也可以同步时间:
ntpdate pool.ntp.org
转自:http://www.lupaworld.com/article-215597-1.html