Created
July 14, 2021 13:03
-
-
Save mamedshahmaliyev/483bd70f1bc27ed620aa80f844df13e1 to your computer and use it in GitHub Desktop.
CentOS 8 time sync
This file contains hidden or 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
#!/bin/bash | |
sudo dnf install chrony -y | |
sudo systemctl enable chronyd | |
sudo systemctl start chronyd | |
timedatectl set-ntp true | |
timedatectl status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment