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]