Setp1. 檢查是否有安裝NTP套件

# dpkg -l | grep ntp

Setp 2. 若未安裝NTP套件,請下apt-get進行安裝

# apt-get install ntp

Setp 3. 設定指向的NTP Server

# vim /etc/ntp.conf

   server time.stdtime.gov.tw

   server clock.stdtime.gov.tw

Setp 4. 測試

# ntpdate time.stdtime.gov.tw

Setp 5. 完成

arrow
arrow
    全站熱搜

    pineapplelin 發表在 痞客邦 留言(0) 人氣()