달력

72024  이전 다음

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

### Local NTP 설정 ###

 

1. vi /etc/ntp.conf

 

기존 설정 모두 주석 하되,

 

server 127.127.1.0     # local clock

 

해당 구문만 활성화

 

2. NTP 서버에서 아래 명령 실행

 

chkconfig time-dgram on

chkconfig time-stream on

 

3. ntpd 데몬 재 기동

service ntpd restart

 

# ntpq -pn

     remote           refid      st t when poll reach   delay   offset  jitter

===========================================================================

*127.127.1.0     .LOCL.           5 l   34   64   37    0.000    0.000   0.001

 

 

 NTP zone 파일 이용 시

/etc/share/zoneinfo 디렉토리 내 GMT / UTC 파일 및 Asia/Seoul 파일 이용하여 시간 설정 가능

rdate -s time.bora.net 이용하여 동기화 실시

ntpdate NTPIP 이용하여 수동 동기화도 가능

 

※ UTC 협정시 확인은 /etc/sysconfig/clock에서 확인

 

http://blog.daum.net/ancigo/22

http://blog.syszone.co.kr/3129

http://redkreuz.tistory.com/133

http://www.mjstory.com/bbs/view.php?id=study&page=8&sn1=&divpage=1&sn=off&ss=on&sc=on&select_arrange=hit&desc=asc&no=27

 

 

 

 

 

Posted by 짜꾸미의골골몽
|