1、设置时区(同步时间前先设置)
timedatectl set-timezone Asia/Shanghai
2、安装组件
yum -y install ntp
systemctl enable ntpd
systemctl start ntpd
3、同步时间
ntpdate -u cn.pool.ntp.org
1、设置时区(同步时间前先设置)
timedatectl set-timezone Asia/Shanghai
2、安装组件
yum -y install ntp
systemctl enable ntpd
systemctl start ntpd
3、同步时间
ntpdate -u cn.pool.ntp.org
CentOS7修改时区、UTC&CTS
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M