_______________________________________________________________________________________
NTP stands for Network Time Protocol.
It is used to synchronize the time on your Linux system with a centralized NTP server.
A local NTP server on the network can be synchronized with an external timing source to keep all the servers in your organization in-sync with an accurate time.
________________________________________________________________________________________
chronyc sources
dnf -y install chrony
nano /etc/chrony.conf
change servers to synchronize (replace to your own timezone NTP server)
# need NTP server itself to sync time with other NTP server
#pool 2.centos.pool.ntp.org iburst
pool ntp.nict.jp iburst
# add network range to allow to receive time synchronization requests from NTP Clients
# specify your local network and so on
# if not specified, only localhost is allowed
allow 192.168.1.50/24
systemctl enable --now chronyd ; systemctl restart chronyd ; systemctl status chronyd
firewall-cmd --add-service=ntp ; firewall-cmd --runtime-to-permanent
chronyc sources
________________________________________________________________________________________
No comments:
Post a Comment