全球主机交流论坛

标题: 怎么同步系统时间? [打印本页]

作者: webproxy    时间: 2010-9-1 20:59
标题: 怎么同步系统时间?
os:centos 5 (openvz vps)

[root@vps ~]# ntpdate time.windows.com
1 Sep 16:53:59 ntpdate[22356]: step-systime: Operation not permitted

这个怎么解决?
作者: Sylar    时间: 2010-9-1 21:09
你太强大了
Linux还会跑到windows去同步
作者: webproxy    时间: 2010-9-1 21:17
怎么?用微软的不行吗?
作者: Captain    时间: 2010-9-1 21:17
yum install ntp

cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

ntpdate time.nist.gov
作者: Captain    时间: 2010-9-1 21:18
适用centos
作者: cw723    时间: 2010-9-1 21:19
只有母鸡才可以
你小鸡如何同步都是会乱的
作者: domin    时间: 2010-9-1 21:19
可能你机器上过滤了UDP包,或者ntp使用的UDP端口
作者: cuijz    时间: 2010-9-1 21:29
/usr/sbin/ntpdate 210.72.145.44
1 Sep 06:29:12 ntpdate[27511]: adjust time server 210.72.145.44 offset 0.212203 sec
作者: cuijz    时间: 2010-9-1 21:30
openvz 好像不能改时间吧
作者: webproxy    时间: 2010-9-1 21:34
我想把时间设成+00:00,我的vps是+04:00的,,,
作者: homekind    时间: 2010-9-1 21:39
有的控制面板不能改时区
作者: needvps    时间: 2010-9-2 09:47
openvz不能这么干
作者: cmse    时间: 2010-9-2 11:57
好像母鸡改才准。。。小鸡。都有误差的。。。。




欢迎光临 全球主机交流论坛 (https://sunk.eu.org/) Powered by Discuz! X3.4