-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chrony installation guide - Create SystemSeriesA09.md (#460)
* Create SystemSeriesA09.md Created Chrony installation guide.
- Loading branch information
1 parent
e3ccaf3
commit c1a7a9f
Showing
1 changed file
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |