개발, 웹, 블로그/Linux 상식
간단한 ntp 설정
삼성동고양이
2016. 9. 16. 10:24
반응형
ntp 패키지 설치
# yum search ntp
# yum install -y ntp
ntp.conf에 time.bora.net 추가
# vi /etc/ntp.conf
#server 0.centos.pool.ntp.org
#server 1.centos.pool.ntp.org
#server 2.centos.pool.ntp.org
server -4 time.bora.net
zone 파일 교체
# cp /usr/share/zoneinfo/Asia/Seoul /etc/localtime
systemctl 에 ntp 활성화 및 시작
# systemctl enable ntpd
# systemctl start ntpd
시간 확인
# date
반응형