Enter the three commands
yum install ntpdate -y
ntpdate tiger.sina.com.cn
ping tiger.sina.com.cn
Then enter the date to check whether the time has been synchronized
Enter the three commands
yum install ntpdate -y
ntpdate tiger.sina.com.cn
ping tiger.sina.com.cn
Then enter the date to check whether the time has been synchronized