Chrony is the two program used to maintain the accuracy of computer system clocks, both of which are named Chronyd and Chronyc.
Chronyd is a daemon that runs in the background of the system. He adjusts the system clock by measuring the offset of the local time based on other time server time on the network. For orphaned systems, the user can manually enter the correct time periodically (via CHRONYC). In both cases, the chronyd determines the ratio of the speed of the computer and corrects it. CHRONYD implements the NTP protocol and can act as a server or client.
CHRONYC is a user interface for monitoring chronyd performance and configuring its parameters. He can control the CHRONYD processes running on the machine and other computers.
View Date
#date
View time Details
#timedatectl
NTP Network Time Protocol
Configuring the NTP server
Service side: 192.168.100.12
#yum Install NTP
# vi/etc/ntp.conf
Add a network segment
The time synchronization server is set to its own
127.127.1.0
Restart the service and set it to boot
# Systemctl Start ntpd
# Systemctl Enable NTPD
View ports
# NETSTAT-NTUPL | grep 123
Client: 192.168.100.11
Installation Services
#yum Install Chrony-y
Modifying a configuration file
# vi/etc/chrony.conf
Restart Service
#systemctl Restart Chronyd
View status
#systemctl Status Chronyd
Viewing time synchronization sources
# Chronyc Sources-v
# Timedatectl
Chronyd Time Server Synchronization time configuration