這是本文件的舊版!
set time
date –set=“23 June 1988 10:00:00” date –set=“10:00:00”
Set the Hardware Clock to the current System Time
# hwclock –systohc Set the System Time from the Hardware Clock.
# hwclock –hctosys
update via ntp
sudo service ntp stop sudo ntpd -gq sudo service ntp start
or
ntpdate ntp.ubuntu.com
ntp server
如果出現 Server dropped: strata too high
,在 ntp.conf 新增以下
server 127.127.1.0 fudge 127.127.1.0 stratum 8
參考