NTP Client on Ubuntu 24.04 Server
Install NTP client on Ubuntu 24.04 server.
This isn't a demo — it's a deployment.
Stable and unattended — time drift solved without maintenance.
Why this installer exists
Time sync should never be something you remember last-minute. This ensures it isn’t.
What this installer does
✔ Uses reliable upstream servers
✔ Enables system-wide time sync
✔ Works without reboot
✔ Zero manual configuration needed
What this installer does NOT do
It won’t stop you from running the script without reading the documentation like there’s no tomorrow.
Skip the README, and whatever happens next is your headache, not a bug report.
1. Prepare the system
sudo apt update -y
2. Download
git clone https://git.x-files.dk/server/ntp-client-ubuntu.git
cd ntp-client-ubuntu
3. Install
sudo ./ntp-client-install
This configures the machine to use reliable upstream time servers and enables sync automatically.
4. Verify Synchronization
ntpq -p
Look for:
✔ reachable upstream NTP servers
✔ offset/drift values updating
✔ no "insane" flagging
If the peers list is present and updating — you're synced and good to go.
Post-Install
Nothing else required — time sync is automatic.
More Information
More guides and documentation can be found on wiki.x-files.dk
License
Licensed under the MIT License.