You've already forked ntp-client-ubuntu
docs: clearer README, more user-friendly
This commit is contained in:
45
README.md
45
README.md
@@ -1,49 +1,62 @@
|
||||
# NTP Client for Ubuntu 24.04 Server
|
||||
# NTP Client on Ubuntu 24.04 Server
|
||||
[](#)
|
||||
[](#)
|
||||
[](#)
|
||||
[](./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.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user