NTP (Network Time Protocol) Setup Memo

zhaozj2021-02-12  148

NTP (Network Time Protocol) Settings Memo a. NTP is a protocol used to keep the system and a precise time source time synchronization. It is recommended that you build at least one time server in your own management network to synchronize local time, which makes it easier to handle and collect logs and management on different systems. b. Use version NTP-4.1.2-0.RC1.2 C. NTP server configuration (10.9.8.1) Note: This server needs to provide NTP Time Synchronization Service to 10.9.8.0 and 172.20.0.0. Etc / ntp.conf: in # - client network ------- Dates: Restrict 10.9.8.0 Mask 255.255.255.0 Notrust Nomodify Notrap Restrict 172.20.0.0 Mask 255.255.0.0 NOTRUST NOMODIFY NOTRAP If this The server also needs to synchronize time from other time servers, then see the NTP client settings. (After saving, restart the NTPD service) d. NTP client settings (herein referring to Linux client) Edit /etc/ntp.conf: Shield: Restrict default ignore server 127.127.1.0 # local clock fulge 127.127.1.0 Stratum 10 That is, add '#' in front of the line, then add: restrict 10.9.8.1 mask 255.255.255.255 Nomodify Notrap NoQuery in # --- u -esServers ----- Server 10.9.8.1 Edit / etc / ntp / ntpservers Add to line inside: 10.9.8.1 Editing / etc / ntp / step-tickers Add to line: 10.9.8.1 (After saving, restart NTPD service) E. Windows client settings (Windows XP Professional) Control Panel => Time and Date Properties => Internet Time Selection: Automatically synchronize with the Internet Time Server and enter the server address in the server (10.9.8.1)

转载请注明原文地址:https://www.9cbs.com/read-7059.html

New Post(0)