"Chrony"의 두 판 사이의 차이
둘러보기로 가기
검색하러 가기
잔글 (→사용자 매뉴얼) |
잔글 |
||
16번째 줄: | 16번째 줄: | ||
firewall-cmd --add-service=ntp --permanent | firewall-cmd --add-service=ntp --permanent | ||
firewall-cmd --reload | firewall-cmd --reload | ||
+ | |||
+ | 123/udp 사용 | ||
==사용자 매뉴얼== | ==사용자 매뉴얼== |
2020년 7월 6일 (월) 14:28 기준 최신판
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 #--- 즉시 동기화