Linux server to modify the system time

1. Problem

Recently found time a server is slower than the 8 hours Beijing time, we found that the use of the time zone is UTC

2. Modify the time zone is UTC CST China Standard Time

mv /etc/localtime /etc/localtime.bak
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

3. Check the modified time

date

Guess you like

Origin www.cnblogs.com/wuning/p/11790529.html