*(00)*

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

更新服务器时间到服务器:

  ntpdate time.windows.com

BISO时间同步:

#宿主机系统时间: date

#宿主机时间校准方法:

yum install -y ntpdate

ntpdate -u ntp.api.bz

#centos查看设置系统时区:(可能没有)

cat /etc/sysconfig/clock

#hwclock 查看系统bios时间, 查看硬件时钟用命令:

hwclock --show

hwclock -w //将系统时钟写入硬件时钟

hwclock --hctosys //硬件时钟与系统时钟同步

# 提醒: date命令只操作系统时间,hwcloc

posted on 2022-07-24 21:05  *(00)*  阅读(141)  评论(0编辑  收藏  举报