Xen VPS 时间异常的解决方法
作者:fengyn 日期:2011-11-30
1.通过SSH登陆到VPS.
2.vim /etc/sysctl.conf
3.在文件底部加入
xen.independent_wallclock=1
4.执行 sysctl -p
5.执行以下命令:
rm -rf /etc/localtime
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
yum install -y ntp
ntpdate us.pool.ntp.org
date
2.vim /etc/sysctl.conf
3.在文件底部加入
xen.independent_wallclock=1
4.执行 sysctl -p
5.执行以下命令:
rm -rf /etc/localtime
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
yum install -y ntp
ntpdate us.pool.ntp.org
date
评论: 0 | 引用: 0 | 查看次数: -
发表评论

上一篇
下一篇

文章来自:
Tags:
相关日志:
