What should I do if the Linux system time zone is wrong?

  

Because the Linux system needs to select the system time zone during installation, many people do not pay attention when installing, which leads to system time error. How to solve such a problem? The following small series introduces you to the Linux system to modify the time zone.

1. View system time

#date

You can see that the time zone is EST (US Eastern Standard Time), and the normal display should be CST (China Standard Time).

2, when viewing system area

#date -R

can be seen that the output

Fri, 21 Nov 2014 00:54: 08 -0500

when zone is -5

should appear as normal time zone +8 (East eight districts)

3, to ensure smooth network, DNS normal resolution, try to synchronize Internet time

#ntpdate cn.pool.ntp.org

4, district profiles

#cat /etc /sysconfig /clock when viewing system < Br> Previous12Next Total 2 Pages

Copyright © Windows knowledge All Rights Reserved