Configuring NTP

To configure NTP

  1. Install the NTP service by the command
    sudo yum install ntp
  2. Update the NTP server details in /etc/ntp.conf or /etc/chrony.conf
  3. Restart the NTPD/chronyd service by the command
    sudo systemctl start ntpd
  4. Verify the NTP status using command
    ntpstat