Set timezone on Ubuntu¶
Run and select Asia
, China
, Beijing time
:
$ tzselect
Copy the zoneinfo file to /etc
:
$ cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
Run and select Asia
, China
, Beijing time
:
$ tzselect
Copy the zoneinfo file to /etc
:
$ cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime