前言: 這裡將以
netdate 為範例 :
Syntax :
ntpdate time_server
NETDATE(8L) NETDATE(8L)
NAME
ntpdate - set date and time by ARPA Internet RFC 868
SYNOPSIS
ntpdate [ -v ] [ -l limit ] [ protocol ] hostname...
DESCRIPTION
Netdate takes a list of names of Internet hosts as arguments, selects the one which supplies the best time, and sets the system time
accordingly. The invoker must be the super-user for the time to be set. Protocol names (either udp or tcp) may be interspersed
with the host names, and determine the protocol which will be used to connect to the hosts whose names follow, up to the next protoâ€
col name or the end of the arguments. The default protocol is udp.
Ps. For more detail description, please use command :
man netdate目前已有的時間Server:
參考
這裡time.stdtime.gov.tw
clock.stdtime.gov.tw
tick.stdtime.gov.tw
tock.stdtime.gov.tw
watch.stdtime.gov.tw
使用範例:
dhcppc91:/home/ftpusers/ken # ntpdate clock.stdtime.gov.tw
1 Sep 01:00:25 ntpdate[13994]: adjust time server 220.130.158.72 offset -0.020384 sec
補充說明 :*
nixCraft - How To Change Timezone on a CentOS 6 and 7*
Ubuntu Linux 設定時區、NTP 校時*
Ubuntu Linux 的時間設定
安裝 Ubuntu Linux 時注意到一個有趣的現象,那就是在設定時區及時間這一步驟上,明明已經選擇了 Asia/Taipei 時區了,但是同步後取得的時間卻比正確的時間快了8個小時...
This message was edited 17 times. Last update was at 05/06/2016 15:17:22
沒有留言:
張貼留言