加入收藏    联系我们    

首页 | 公司简介 | 数据恢复 | 成功案例 | 技术中心 | 服务报价 | 客户服务 | 联系我们 | 技术论坛 | 北亚博客     
 当前位置:首页 >> 技术中心 >> 服务器与存储技术 >> 正文
 
NTP服务器和客户端的设置及使用(EN版)

作者:  来源:  发布日期:2007-8-30 11:24:36  点击次数:


#                  address are to include authentication fields,
#                  encrypted using the specified key number. The
#                  range  of  this number is that of an unsigned
#                  32 bit integer.  By  default,  an  encryption


#                  field is not included.
#         version  Specifies the version number to be  used  for
#                  outgoing  NTP  packets.  Versions 1, 2, and 3
#                  are the choices; version 3 is the default.
#         prefer   Marks the host as  a  preferred  host.   This
#                  host  will  be  preferred for synchronization
#                  over other comparable hosts.
# for complete listing see man page on xntpd


Sample ntp.conf file for an NTP primary stratum 1 server:

server 127.127.5.0
fudge 127.127.5.0 stratum 1


Sample ntp.conf file for an NTP server in peer mode:

peer ntppeerserver


Sample ntp.conf file for an NTP server in server mode: (Note: its recommended to have a minimum of 3 server entries, even more preferable is 5)

server sometimeserver

server sometimeserver
server sometimeserver
server sometimeserver

server sometimeserver

 

We can always fall back to the local clock:

server 127.127.1.0
fudge 127.127.1.0 stratum 9


Once you have created your ntp.conf file, save it and start the

xntpd daemon.

# /usr/lib/inet/xntpd &

you can specify different options for the daemon to run as:

     -a             Run in "authenticate" mode

     -b             Listen for broadcast NTP and sync to this  if
                    available

     -c   ----->    Specify an alternate configuration file

     -d    ----->   Specify debugging mode. This flag  may  occur

本新闻共8页,当前在第4页  1  2  3  4  5  6  7  8  


上一篇:

RAID详解---RAID-53

下一篇: 光纤交换机zone的划分
 >> 服务电话
  北京总部: 4006-505-808
  上 海 部: 021-58358765
  深 圳 部: 0755-83692929
  浙 江 部: 13666673722
  其它地区: 4006-505-808
最新案例  
中国地震局地质研究所
中央电视台新闻评论部
硬盘进水后,磁头芯片组
恢复后的MDF文件无法附
教育部学位中心-硬盘数
GHOST恢复系统后,硬盘
硬盘突然断电后,F盘所
解决方案  
LINUX FSCK数据出错灾
误删除、误格式化数据
误GHOST、误一键恢复灾
磁盘未被格式化,是否格
raid磁盘阵列OFFLINE后
硬盘出现异响应急处理
more>>
 >> 友情链接
数据恢复 数据恢复 数据恢复 数据恢复 数据恢复 数据恢复 数据恢复
返回首页 | 关于我们 | 在线留言 | 联系我们 | 友情链接

版权所有 北京北亚数据恢复中心
全国统一客服电话:4006-505-808 或 800-810-5880
公司地址:北京市海淀区学院南路68号吉安大厦C座(汇智楼)528室
京ICP备06031461