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
相關文章
相關標籤/搜索