虛擬機的時間調整問題

1.vi /boot/grub/grub.conf
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-194.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.el5 ro root=/dev/VolGroup00/LogVol00 hda=noprobe hdb=noprobe notsc divider=10
initrd /initrd-2.6.18-194.el5.img
2.同步網絡時間
ntpdate time.nist.gov
set the hardware clock to the newly synchronised time:
hwclock -systohc
set the hardware clock to the newly synchronised time:hwclock -systohc
set the hardware clock to the newly synchronised time:
hwclock --systohc
hwclock -w
date
logout
date
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章