红联Linux门户
Linux帮助

让多个linux操作系统的时间一致

发布时间:2007-04-18 00:42:00来源:红联作者:exchanged
假如有debian和gentoo两个系统,先随便进一个,比如行进debian:
1.
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
2.
date xxxxxxxx
3.
hwclock --systohc
4.
reboot
进入gentoo:
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
如此便可,主要是让它们的时区一致,时区一样,时间自然也就一致了。
文章评论

共有 0 条评论