linux修改系統時間

  1. 修改系統時區(假設咱們都在東八區)spa

    cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
  2. 同步時間code

    yum install ntpdate
     ntpdate time.nist.gov
相關文章
相關標籤/搜索