This article will guide you on how to configure the #NTP server on Ubuntu. You will learn how to configure the NTP client on another #Ubuntu machine and synchronize it with the NTP server. By means of this, you can easily synchronize all system clocks in a network.
The Network Time Protocol (NTP) is a networking protocol for clock synchronization between computer systems over packet-switched, variable-latency data networks.
NTP is intended to synchronize all participating computers to within a few milliseconds of Coordinated Universal Time (UTC).
To Configure NTP server:
- Install NTP Server. First, install NTP package on your server using the appropriate package management tool that is available on your Linux distro.
- Setup Restrict values in ntp. conf.
- Allow Only Specific Clients.
- Add Local Clock as Backup.
- Setup NTP Log Parameters.
- Start the NTP Serrver.
To Configure NTP client:
- To configure your Linux system as an NTP client, you will need to install the ntp daemon (ntpd).
- The ntpd configuration file is located at /etc/ntp.conf.
- This file contains the list of NTP servers that will be used for time synchronization.
- Next, restart the NTP deamon with the sudo service ntp reload command
https://linuxapt.com/blog/93-configure-an-ntp-server-and-client-on-ubuntu
For Linux Resources >> https://linuxapt.com/resources