CentOS修改时区 Posted on 2020年5月30日Updated on 2020年7月13日by PizzaCategories:Linux cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime“y”确认即可。 一套组合拳:yum install ntp //安装ntp服务systemctl enable ntpd //开机启动服务systemctl start ntpd //启动服务timedatectl set-timezone Asia/Shanghai //更改时区timedatectl set-ntp yes //启用ntp同步ntpq -p //同步时间 打赏微海报分享