描述

服务器上用了Google验证器,由于服务器时间有时会或快或慢,超过Google验证器的时限之后会导致总是验证不通过,这个时候需要更新系统时间。


开始

  1. 安装ntpdate

    1
    sudo apt-get install ntpdate
  2. 同步系统时间

    1
    ntpdate cn.pool.ntp.org