Linux系统同步时间命令

CentOS7
方法一:

cp /usr/share/zoneinfo/PRC /etc/localtime

方法二:

timedatectl set-timezone Asia/Shanghai

你可能感兴趣的:(IT)