|
The newly installed server may be incorrectly set, and the time zone needs to be adjusted. The following is the use of NTP to synchronize from a time server
Cp/usr/share/zoneinfo/asia/shanghai/etc/localtime
Ntpdate us.pool.ntp.org
Very simple, analytic, the first sentence is to adjust the current time zone to Shanghai is +8 district, want to change other time zone can also go to see/usr/share/zoneinfo directory;
Then the second sentence is to use Ntpdate to synchronize Standard time.
If you don't have Ntpdate installed, yum:
Yum Install NTP
Join a scheduled task and sync the clock every 10 minutes
Crontab-e
0-59/10 * * * */usr/sbin/ntpdate us.pool.ntp.org | Logger-t NTP
China National Timing Center:
Http://www.time.ac.cn/stime.asp
Other network time server addresses are as follows: (You can also search by yourself)
Time.nist.gov (USA)
Ntp.fudan.edu.cn (Fudan) (this server is recommended for domestic users)
timekeeper.isi.edu
subitaneous.cpsc.ucalgary.ca
Usno.pa-x.dec.com
Time.twc.weather.com
swisstime.ethz.ch
Ntp0.fau.de
Ntp3.fau.de
Time-a.nist.gov
Time-b.nist.gov
Time-nw.nist.gov
Nist1-sj.glassey.com
210.72.145.44 is also a good address, fast! |