This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!
ntp
¶
The NTP Project provides a reference implementation of the NTP protocol and implementation documentation through a largely volunteer effort.
It is a common method to synchronize the software clock of a GNU/Linux system with internet time servers. It is designed to mitigate the effects of variable network latency and can usually maintain time to within tens of milliseconds over the public Internet. The accuracy on local area networks is even better, up to one millisecond.
Reference(s)
- The reference NTP implementation (both client side and server side).
- https://wiki.archlinux.org/title/Network_Time_Protocol_daemon
- https://support.ntp.org/bin/view/Support/GettingStarted
- https://support.ntp.org/bin/view/Main/WebHome#The_NTP_Project
- https://wiki.gentoo.org/wiki/Network_Time_Protocol
- https://linuxhint.com/configure_network_time_protocol_archlinux/
- https://en.wikipedia.org/wiki/Network_Time_Protocol
- https://www.ntppool.org/en/
- https://www.ntp.org/
- https://doc.ntp.org
Table of contents¶
Install¶
Config¶
Depending on your runit
implementation, either run:
The default /etc/ntp.conf
config file should be OK for common use.
If this cheat sheet has been useful to you, then please consider leaving a star here.