一、查看系统时间、硬件时间
# date // 查看系统时间
#hwclock // 查看硬件时间
二、时间服务器上的时间同步的方法
安装ntpdate工具
# yum -y install ntp ntpdate
设置系统时间与网络时间同步
# ntpdate cn.pool.ntp.org
将系统时间写入硬件时间
# hwclock --systohc
一、查看系统时间、硬件时间
# date // 查看系统时间
#hwclock // 查看硬件时间
二、时间服务器上的时间同步的方法
安装ntpdate工具
# yum -y install ntp ntpdate
设置系统时间与网络时间同步
# ntpdate cn.pool.ntp.org
将系统时间写入硬件时间
# hwclock --systohc
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。