The solution is always automatically change the system time

Emerging issues 

After the time is always manually change the time automatically change, after examination revealed a matter of time lost due to the problem

Solution 

1, first change the time zone 

timedatectl set-timezone UTC (said to modify the time zone) Modify commands zone

2, manual changes to the system hardware time

hwclock  --set --date  ‘xx-xx-xx  xx:xx:xx’

3, system hardware clock synchronization

hwclock --hctosys 

4, save the Clock

clock -w 

 

Guess you like

Origin www.cnblogs.com/recall-lonely/p/11731708.html