# yum install -y chrony
# yum install -y ntp
설치
# systemctl enable chronyd
데몬(백그라운드에서 작업을 하는 프로그램) 오토스타트(자동시작)
# systemctl restart chronyd
다시 시작
# systemctl status chronyd
상태 확인 (사용 여부 확인)
# vi /etc/chrony.conf
allow [서버 주소]
allow [서버 주소]
server 1.kr.pool.ntp.org
server 0.asia.pool.ntp.org
server 2.asia.pool.ntp.org
// 아시아와 한국 시간 설정
# systemctl restart chronyd
# systemctl status chronyd
// 다시 확인
'Linux' 카테고리의 다른 글
리눅스 10일차(2) - Shell Script (0) | 2024.03.18 |
---|---|
리눅스 10일차(1) - Shell Script (2) | 2024.03.15 |
Centos8 git push WARNING message 제거 (1) | 2024.03.14 |
리눅스 Centos8 자바 설치 (0) | 2024.03.14 |
리눅스 8일차 (라이브러리 사용 && make 사용) (0) | 2024.03.14 |