RHEL6 下NTP 服务器的配置 2011-09-06 23:17:50| 分类: redhat6 初识 | 标签: |举报 |字号大中小 订阅 RHEL6 下NTP 服务器的配置 实验环境: [root@desktop2 ~ ]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6
0 (Santiago) [root@desktop2 ~ ]# uname -r 2
x86_64 一、NTP 服务的原理 1、原理 NTP(Network Time Protocol,网络时间协议)是用来使计算机时间同步化的一种协议,它可以使计算机对其服务器或时钟源(如石英钟,GPS 等等)做同步化,它可以提供高精准度的时间校正(LAN 上与标准间差小于 1 毫秒,WAN 上几十毫秒),且可介由加密确认的方式来防止恶毒的协议攻击
2、端口 UDP 123 二、NTP 服务的配置 1、安装 NTP 软件包 [root@desktop2 ~ ]# yum -y install ntp 2、NTP 服务的配置 [root@desktop2 ~ ]# grep -v "^#" /etc/ntp
conf driftfile /var/lib/ntp/drift restrict default kod nomodify notrap nopeer noquery restrict 127
1 restrict -6 ::1 restrict 192
0 mask 255
0 nomodify notrap restrict 192
0 mask 255
0 nomodify notrap server 192