Ubuntu18.04 system synchronization time (2019-10-20)

1. Display the current time

date

2. Enter the command, select the time zone

sudo tzselect 
selected Asia Asia, continue to choose China China, the final choice of Beijing Beijing.

3. Create time zone

sudo ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

 

Reprinted from: https://blog.csdn.net/qq_35553662/article/details/89430639

 

Guess you like

Origin www.cnblogs.com/garacy/p/11708283.html
Recommended