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
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3