色胃康胶囊 发表于 2019-2-17 06:20:50

centos 内网时间同步ntp配置方法

  # cat /etc/sysconfig/ntpdate
  # Options for ntpdate
  OPTIONS="-U ntp -s -b"
  # Number of retries before giving up
  RETRIES=2
  # Set to 'yes' to sync hw clock after successful ntpdate
  SYNC_HWCLOCK=yes
  # cat /etc/ntp/step-tickers
  # List of servers used for initial synchronization.
  172.230.156.201
  #这种方式是在内网所有机器指向201,201上在去网络上同步时间,属于一主多从ntp模式



页: [1]
查看完整版本: centos 内网时间同步ntp配置方法