一、查看系统时间、硬件时间

# date // 查看系统时间

#hwclock // 查看硬件时间

二、时间服务器上的时间同步的方法

安装ntpdate工具

 

# yum -y install ntp ntpdate

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

 

# ntpdate cn.pool.ntp.org

将系统时间写入硬件时间

 

# hwclock --systohc

 

相关文章:

  • 2022-02-08
  • 2021-11-19
  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
  • 2022-02-08
  • 2021-10-10
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-16
  • 2022-02-02
  • 2022-02-08
相关资源
相似解决方案