个人工具

“UbuntuHelp:MythTV/Install/Server/NTP”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
第11行: 第11行:
 
# sudo apt-get install ntp-simple
 
# sudo apt-get install ntp-simple
 
</nowiki></pre>
 
</nowiki></pre>
If after some time, you find that the accuracy of the clock is not acceptable, you can add more servers for increased accuracy.  See [[UbuntuHelp:NTPTimeSynchronisation]] for more information.
+
If after some time, you find that the accuracy of the clock is not acceptable, you can add more servers for increased accuracy.  See [[UbuntuHelp:NTPTimeSynchronisation|NTPTimeSynchronisation]] for more information.
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2008年10月20日 (一) 00:01的最新版本

Setup NTP

NTP automatically corrects for clock drift as your machine is running. Clock drift is inevitable, and on some machines it can be very drastic. By synchronizing your clock with an NTP server, you will guarantee accurate time displays on the frontend OSD and make sure that recordings always start on time on the backend. With NTP running, you have the best chance of never missing recordings- as long as your MythTV configuration is correct and the broadcaster is on time. To begin, perform a one time major sync using ~+`ntpdate`+~, which will correct the clock even if its a drastic problem like being off by several hours.

# sudo ntpdate ntp.ubuntu.com

After setting the clock correctly the first time, install the ~+`ntp-simple`+~ package. This includes a ntp daemon that will periodically connect to a NTP server to make sure that your clock is in sync.

# sudo apt-get install ntp-simple

If after some time, you find that the accuracy of the clock is not acceptable, you can add more servers for increased accuracy. See NTPTimeSynchronisation for more information.