Itanium服务器
1753648 成员
6036 在线
108798 解答
新建帖子

配置NTP客户端

 
GoldenFaith
见习顾问

配置NTP客户端

1,#vi /etc/rc.config.d/netdaemons --编辑xntpd服务器配置文件
export NTPDATE_SERVER="11.xx.xx.xx" 编辑了
export XNTPD=1 编辑了
export XNTPD_ARGS=
2,#vi /etc/ntp.conf --编辑ntp服务配置文件
server 11..xx.xx.xx --定义同步源的地址 新加的条目
driftfile /etc/ntp.drift 注释去掉了
3,启动服务
ntpdate -B 11..xx.xx.xx --测试 (这一步不是必要的)
/sbin/init.d/xntpd start
4,确认配置结果

# ntpq -p