Contents
How install NTP package in Linux?
How to Install and Configure NTP on Linux
- Install the NTP service.
- Modify the NTP configuration file, ‘/etc/ntp. …
- Add reference clock peers to the configuration file.
- Add drift file location to the configuration file .
- Add optional statistics directory to the configuration file .
- Enable and start the NTP service.
How do I enable NTP on Linux?
Synchronize Time on Installed Linux Operating Systems
- On the Linux machine, log in as root.
- Run the ntpdate -u <ntpserver> command to update the machine clock. For example, ntpdate -u ntp-time. …
- Open the /etc/ntp. …
- Run the service ntpd start command to start the NTP service and implement you configuration changes.