Type the following command to install ntp:
# yum install -y ntp
Turn on service:
# chkconfig ntpd on
Synchronize the system clock with 0.pool.ntp.org server:
# ntpdate pool.ntp.org
Start the NTP:
# /etc/init.d/ntpd start
Powered by: 博客园 Copyright © 2024 学海无涯 Powered by .NET 9.0 on Kubernetes