直接上命令
CentOS:
timedatectl set-timezone Asia/Shanghai
timedatectl status
date
Alphine:
apk add tzdata && cp -r -f /usr/share/zoneinfo/Hongkong /etc/localtime
date
直接上命令
CentOS:
timedatectl set-timezone Asia/Shanghai
timedatectl status
date
Alphine:
apk add tzdata && cp -r -f /usr/share/zoneinfo/Hongkong /etc/localtime
date