# NTP Client on Ubuntu 24.04 Server [![OS](https://img.shields.io/badge/ubuntu-24.04-E95420)](#) [![Shell](https://img.shields.io/badge/shell-bash-121011)](#) [![App](https://img.shields.io/badge/app-ntp_client-0098D4)](#) [![License](https://img.shields.io/badge/License-MIT-green)](./LICENSE) 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](https://wiki.x-files.dk) --- ### License Licensed under the [MIT License](./LICENSE). ---