Chrony

오픈소스 비즈니스 컨설팅
둘러보기로 가기 검색하러 가기

Chrony는 시간 동기화 프로그램 입니다. NTP (Network Time Protocol) 솔루션인 chrony를 구성 합니다.

Chrony 설치

yum install -y chrony
systemctl enable chronyd.service
systemctl restart chronyd.service

vi /etc/chrony.conf
    server 0.asia.pool.ntp.org
    server 1.asia.pool.ntp.org
    server 2.asia.pool.ntp.org
    server 3.asia.pool.ntp.org
    # allow 192.168.110.0/24                                #--- 내부 사용을 위한 설정

firewall-cmd --add-service=ntp --permanent
firewall-cmd --reload

123/udp 사용

사용자 매뉴얼

timedatectl status
timedatectl | grep "NTP synchronized"
# timedatectl set-ntp yes

chronyc tracking
chronyc sources

date
# chronyc -a makestep                                       #--- 즉시 동기화