Posted On December 17, 2020

Network Time Protocol for CentOS 8

kimconnect 0 comments
blog.KimConnect.com >> Linux >> Network Time Protocol for CentOS 8

Check hardware clock

[root@sftp testadmin]# hwclock --verbose
hwclock from util-linux 2.32.1
System Time: 1608158426.341727
Trying to open: /dev/rtc0
Using the rtc interface to the clock.
Last drift adjustment done at 0 seconds after 1969
Last calibration done at 0 seconds after 1969
Hardware clock is on UTC time
Assuming hardware clock is kept in UTC time.
Waiting for clock tick...
...got clock tick
Time read from Hardware Clock: 2018/12/16 22:40:26
Hw clock time : 2018/12/16 22:40:26 = 1608158426 seconds since 1969
Time since last adjustment is 1608158426 seconds
Calculated Hardware Clock drift is 0.000000 seconds
2018-12-16 14:40:24.944162-08:00

Configure NTP Client:

sudo vim /etc/chrony.conf
systemctl restart chronyd

Check NTP for synchronization status:

[root@sftp testadmin]# timedatectl
Local time: Wed 2018-12-16 14:39:43 PST
Universal time: Wed 2018-12-16 22:39:43 UTC
RTC time: Wed 2018-12-16 22:39:43
Time zone: America/Los_Angeles (PST, -0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Installing Simple NFS GUI (for Ubuntu / Mint / Debian)

Overview: Simple NFS GUI is a Linux application that automates the whole NFS share configuration…

How to Install NoVNC with x11vnc on Linux Mint 21

Objectives: Install x11vnc as the service that would allow connections to screen 0, console session…

How to Upgrade Linux Mint from 20.03 to 21 via Command Line

Step 1: sudo apt updatesudo apt install mintupgrade Step 2: sudo mintupgrade Troubleshooting: Error message:…