yum -y install ntp
ntpdate 1.cn.pool.ntp.org # 根据网络时间校正
tzselect # 选择时区:5Asia->9 China->1->Beijing Time ->1 yes
echo 'TZ='Asia/Shanghai'; export TZ' > ~/.profile # 时区信息写入配置文件
hwclock -w # 软件时间同步至硬件时间
date # 查看当前时间
yum -y install ntp
ntpdate 1.cn.pool.ntp.org # 根据网络时间校正
tzselect # 选择时区:5Asia->9 China->1->Beijing Time ->1 yes
echo 'TZ='Asia/Shanghai'; export TZ' > ~/.profile # 时区信息写入配置文件
hwclock -w # 软件时间同步至硬件时间
date # 查看当前时间
上一篇:【环境部署】centos7(Linux)安装mediainfo
下一篇:【开发心得】electron-vue Webpack ReferenceError: process is not definedWebpack Refere
安装NTPsudo yu
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M