CentOS8 uses ntpdate to synchronize system time

The ntp software package is no longer supported by default in CentOS8.0, and time synchronization is implemented by chrony. But I have become accustomed to using ntpdate to synchronize the system time, including CentOS7 and Ubuntu both use ntpdate to synchronize the system time.

Install the ntp service from the source provided by wlnmp.

Add wlnmp source

rpm -ivh http://mirrors.wlnmp.com/centos/wlnmp-release-centos.noarch.rpm

Install ntp service

yum install wntp

Time synchronization

ntpdate ntp1.aliyun.com

Reference:
https://blog.whsir.com/post-4925.html

Guess you like

Origin blog.csdn.net/qq_27198345/article/details/111824137