Skip to content

Commit

Permalink
Chrony installation guide - Create SystemSeriesA09.md (#460)
Browse files Browse the repository at this point in the history
* Create SystemSeriesA09.md

Created Chrony installation guide.
  • Loading branch information
SysAdminShed authored Jul 15, 2024
1 parent e3ccaf3 commit c1a7a9f
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions docs/series/system/SystemSeriesA10.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# A10 ❯ Chrony Installation Guide
<small>ℹ️ This article is part of AlmaLinux [System Series](/series/).</small>
<hr>
| 💡 | Experience Level | ⭐☆☆☆☆ |
|--- | --------- | --------|
| 📆 | <small>Last modified | 2024-02-02</small> |
| 🔧 | <small>Tested by <br> ↳ version \| platform \| date </small>| NOT TESTED YET |

Chrony Man page: https://chrony-project.org/

## Install Chrony:
```bash
dnf install chrony -y
```

# Configure Chrony conf file:
## Edit the /etc/chrony.conf file using a text editor like nano or vi.
Ensure the following content is set:
```bash
# chrony.conf
# Use Google's NTP server
server time.google.com iburst

# Local clock as a fallback source
server 127.127.1.0 iburst

# Set the time zone
rtcsync

maxdistance 16.0

# Driftfile
driftfile /var/lib/chrony/drift

# Allow larger adjustments to the system clock
makestep 1.0 3

# Leap seconds configuration
leapsec tz right/UTC

# Adjust the following line to allow systems in the XXX.XXX.XXX.XXX/XX subnet to access this client.
# Ensure to modify the XXX.XXX.XXX.XXX/XX part based on your network configuration.
allow XXX.XXX.XXX.XXX/XX

# Logging
log tracking measurements statistics
logdir /var/log/chrony
```
For more details on configuring Chrony, you can refer to the Configuration Reference for the version of [Chrony Documentation](https://chrony-project.org/documentation.html) that matches the version you have installed.


# Restart Chrony service:
```bash
systemctl restart chronyd
```

0 comments on commit c1a7a9f

Please sign in to comment.