Linux servers require time accuracy, but Linux itself does not have the network time synchronization function, we need to use the Ntpdate function to achieve accurate time.
Installing Ntpdate
Yum-y Install Ntpdate
domestic commonly used NTP server list #ntp. sjtu.edu.cn 202.120.2.101 (Shanghai Jiaotong University Network Center NTP server address) #s1a. time.edu.cn Posts and Telecommunications #s1b.time.edu.cn Tsinghua University #s1c.time.edu.cn #s1d.time.edu.cn Southeast University #s1e.time.edu.cn Tsinghua #s2a.time.edu.cn Tsinghua University #s2b.time.edu.cn Tsinghua University s2c.time.edu.cn #s2d.time.edu.cn Southwest Network Center #s2e.time.edu.cn Northwest Network Center #s2f.time.edu.cn Northeast Area Network Center #s2g.time.edu.cn East China South Regional Network Center #s2h.time.edu.cn Sichuan University Network Management Center #s2j.time.edu.cn Dalian University of Network Center #s2k.time.edu.cn cernet Guilin main node #s2m.time.edu.cn The synchronization commands are as follows (Shanghai Jiaotong University)Ntpdate ntp.sjtu.edu.cn can also be set in this command to schedule tasks crontab-e00 * * * Root ntpdate ntp.sjtu.edu.cn 11 points per day sync