yum -y install ntp
systemctl enable ntpd
systemctl start ntpd
ntpdate -u cn.pool.ntp.org
fanhenghui 博主文章分类:linux研究 ©著作权
yum -y install ntp
systemctl enable ntpd
systemctl start ntpd
ntpdate -u cn.pool.ntp.org
第一种方法1.修改时区a.输入命令:tzselectb.选择对应的 Asia-China-Beijing Time-Yes 选项c.执行命令:cp /usr/share/zoneinfo/Asia/Shangh
centos7系统时间修改
linux在安装的时候如果时区选择错误,可以在系统安装完成之后修改。系统时间运行着也会有偏差,需要对时间进行实时同步,方法如下: 打开terminal 首先转到root权限 :并输入密码 然后输入:tsselect 然后选择:5 回车 是Asia 再选择:9 回车 最后选择:1回车 如下图:
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M