解决Linux时间不准确的方法(centos)

1.yum install ntp

ntpdate time.nist.gov

2.

rdate -s rdate.cpanel.net
rdate -s time.nist.gov