NTPDate is a breakpoint update for the time synchronization of your new instances. NTPD is a stepwise daemon for the time synchronization of your running instances. This document uses the CentOS 7.5 operating system as an example to introduce how to transition from NTPDate to NTPD on CVMs.
The NTP service communicates on the port UDP 123. Please make sure that you have opened the port to the Internet before transitioning to the NTP service.
If the port has not been opened, please refer to Adding Security Group Policies to open it to the Internet.
crontabconfiguration and filter NTPDate.
crontab -l |grep -v ntpupdate > /tmp/cronfile
serverconfigurations. Change the value of
serverto the NTP clock source server you want to use (such as
time1.tencentyun.com) and delete unwanted values, as shown below：