You've already forked ntp-client-ubuntu
1.3 KiB
1.3 KiB
NTP Client on Ubuntu 24.04 Server
Automated Bash installer for configuring an NTP client on Ubuntu 24.04 Server.
This is a production-ready time synchronization setup, not a lab exercise.
Run once — system stays accurate on its own.
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.