CentOS NTP时间同步设置

  1. \cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
  2. yum -y install ntp
  3. ntpdate  cn.pool.ntp.org
  4. service ntpd start
  5. chkconfig ntpd on
标签:Centos 发布于:2019-11-22 22:59:02