Spring、Hibernate、Struts

  BlogJava :: 首页 :: 联系 :: 聚合  :: 管理
  11 Posts :: 0 Stories :: 6 Comments :: 0 Trackbacks

注:192.168.0.1为NTP Server地址

use local server as NTP server:

NTP server:
a. vi /etc/rc.config.d/netdaemons
export NTPDATE_SERVER=
export XNTPD=1
export XNTPD_ARGS="-l /var/adm/syslog/ntp.log"
b. vi /etc/ntp.conf
add two lines in the end:
server 127.127.1.1
fudge 127.127.1.1 stratum 10
c. /sbin/init.d/xntpd stop

d. /sbin/init.d/xntpd start

Client:
a. vi /etc/rc.config.d/netdaemons
export NTPDATE_SERVER=--->export NTPDATE_SERVER="192.168.0.1"
export XNTPD=1
export XNTPD_ARGS="-l /var/adm/syslog/ntp.log"
b. vi /etc/ntp.conf
add one line in the end:
server 192.168.0.1 prefer
c. /sbin/init.d/xntpd stop

d. /sbin/init.d/xntpd start

posted on 2005-10-14 11:08 ahgf 阅读(1149) 评论(0)  编辑  收藏 所属分类: UNIX

只有注册用户登录后才能发表评论。


网站导航: