카테고리 없음

ntp 동기화 설정

operationsystem 2020. 2. 13. 14:45

 

  • server에 한국 시간으로 ntp 설정을 해주고
  • client에 server 시간으로 ntp 설정을 해준 후
  • reach값이 도달되면 설정 완료

 

server

# yum install -y ntp

# systemctl start ntpd

# systemctl enable ntpd

# vi /etc/ntp.conf

-> 다른 시간대는 주석처리

-> server time.bora.net iburst ## 한국서버시간

 

client

# yum install -y ntp

# systemctl start ntpd

# systemctl enable ntpd

# vi /etc/ntp.conf

 -> 다른 시간대는 주석처리

 -> server server의ip iburst ## server의시간