Linux 系統時間校對 - Linux

Una avatar
By Una
at 2010-03-20T08:43

Table of Contents

補個 openSUSE 的 :p

opensuse:~ # ntpdate
!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!

The ntpdate program is deprecated and should not be used any more. To
quote the upstream ntp developers:

"The functionality ntpdate offered is now provided by the ntpd daemon
itself. If you call ntpd with the command line option -q it will
retrieve the current time and set it accordingly."

Please check the Network Time Protocol (NTP) daemon man page and
http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate
for further information.

You can replace the ntpdate call with "rcntp ntptimeset" to achieve an
inital poll of the servers specified in /etc/ntp.conf.

The program /usr/sbin/sntp offers comparable functionality to ntpdate.
Specifically
sntp -P no -r pool.ntp.org
is equivalent to
ntpdate pool.ntp.org

For further details please refer to the man page of sntp.

--
神從來沒有把人當作奴僕,只會視他們作子女。
祂並不須人們對它謙卑下跪、叩首膜拜,那絕非祂的本意。
祂要的是你們每一個人都由迷信和無知中卓立起來,
用你們的智慧和雙手去創造幸福的未來。
《黃易‧爾國臨格》

--
Tags: Linux

All Comments

如何知道debian支援的檔案系統?

Elizabeth avatar
By Elizabeth
at 2010-03-19T21:27
我是高齡新手一枚 我在nas-01g(PCI出的NAS)上裝了 Linux Debian 2.2.20-pmac 嘗試著去mount 另外一台NAS-2(IP:192.168.0.11) mount -t nfs 192.168.0.11:/Direcoty /mnt/Directory 結果出現 mou ...

putty連suse

Adele avatar
By Adele
at 2010-03-19T19:25
請問各位 小弟安裝openSUSE 11.2 一直沒辦法使用putty登入,網路是正常 請問各位是要改哪些地方的參數,謝謝。 補充:之前是裝openSUSE 10.0 可以正常登入,換11.2後就不能 用netstat -tln 沒看到*:ssh ,有用chkconfig 開ss ...

grub

Tristan Cohan avatar
By Tristan Cohan
at 2010-03-19T18:19
我已經插入CF Card給讀卡機了 為何grub還是讀取不到? 卻顯示如下錯誤訊息: grubandgt;root (hd0 Error 11:Unrecognized device string - ...

wubi如何設定開機選單??

Megan avatar
By Megan
at 2010-03-19T16:46
我的小筆電原本系統是XP 用wubi裝了Ubuntu後出現了開機選單可選XP或Ubuntu 到這都很正常 問題: 如何設定這個開機選單?? 沒注意的話等30秒進入系統是有點久 而且我想把預設進入的系統設定為Ubuntu 請問該怎麼去設定呢?? 已爬文與估狗XD 感謝大家ˇˇ - ...

設定常用主機?

Thomas avatar
By Thomas
at 2010-03-19T15:00
※ 引述《kkk5566 (kkk5566)》之銘言: : 我記得有種方法 : 可以讓你在 ssh host1.xxx.com.tw 的時候 : 直接打 ssh host1 就好了 : 不過有點忘記要怎麼弄 : 是寫環境變數在 .bash_profile 裡面嗎? : Thanks in advance ^^ ...