centos 7 : ntpd kernel level time sync Hint, NTP synchronized timedatectl

centos 7 NTP synchronized

 

# timedatectl  status

 

 

# timedatectl set-ntp true

 

More Hint!

# timedatectl | grep -i 'time zone'

# ls -l /etc/localtime

# timedatectl list-timezones | grep Asia/Seoul

# timedatectl set-timezone Asia/Seoul

Asia/Seoul => KST

 

 

yum install -y ntp

firewall-cmd --add-service=ntp --permanent

firewall-cmd --reload

systemctl enable ntpd

systemctl start ntpd

 

chack ntp log

# cat /var/log/messages | grep ntpd

 

 

check ntp servers

# ntpq -p

 

manually update time

# ntpdate time.bora.net

or

# rdate -s time.bora.net