docs: clearer README, more user-friendly

This commit is contained in:
2025-11-27 16:15:09 +01:00
parent f321a89b9e
commit 85827802d9

View File

@@ -1,49 +1,62 @@
# NTP Client for Ubuntu 24.04 Server
# 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 script for configuring an **NTP client** on Ubuntu 24.04 Server.
Automated Bash installer for configuring an **NTP client** on Ubuntu 24.04 Server.
This is a **production-focused installer**, not a demo.
This is a **production-ready time synchronization setup**, not a lab exercise.
Run once — system stays accurate on its own.
---
### Preparing
Update your package index before running the installer:
## 1. Prepare the system
```
sudo apt update -y
```
### Download the Script
Clone the repository from your Git server:
---
## 2. Download
```
git clone https://git.x-files.dk/server/ntp-client-ubuntu.git
```
```
cd ntp-client-ubuntu
```
### Usage
Run the script using:
---
## 3. Install
```
sudo ./ntp-client-install
```
### Check if it's Working
Use the following command to verify synchronization with NTP servers:
This configures the machine to use reliable upstream time servers and enables sync automatically.
---
## 4. Verify Synchronization
```
ntpq -p
```
### Post-install
Nothing to do.
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.
---