centos7 设置系统时间与网络同步

1.安装ntpdate工具 sudo yum -y install ntp ntpdate 2.设置系统时间与网络时间同步 sudo ntpdate cn.pool.ntp.org 3.将系统时间写入硬件时间 sudo hwclock --systohc 4.查看系统时间 timedatectl 若是没有执行步骤3,则Local time与RTC time显示的值可能不同web
相关文章
相关标签/搜索