Sync Linux server time with NTP (Network Time Protocol) server > Linux/Apm

본문 바로가기
사이트 내 전체검색

Linux/Apm

Sync Linux server time with NTP (Network Time Protocol) server

페이지 정보

작성자 sbLAB 댓글 0건 조회 4,175회 작성일 19-03-07 20:07

본문

Sync Linux server time with NTP (Network Time Protocol) server


[ntp설치]


1.설치여부 확인

sudo ntpstat 


2.설치

sudo yum install ntp


3.실행

/etc/init.d/ntpd start


[참고 ntp.conf 경로]

/etc/ntp.conf



[CentOS 7]

[root@localhost ~]# date

Wed May 22 16:50:59 KST 2019

[root@localhost ~]# yum install ntp 

[root@localhost ~]# systemctl start ntpd

[root@localhost ~]# systemctl enable ntpd

Created symlink from /etc/systemd/system/multi-user.target.wants/ntpd.service to /usr/lib/systemd/system/ntpd.service.

[root@localhost ~]# 


댓글목록

등록된 댓글이 없습니다.

회원로그인

접속자집계

오늘
349
어제
342
최대
1,279
전체
218,584

그누보드5
Copyright © sebom.com All rights reserved.