본문 바로가기

Tibero

가상화 장비 시간 초기화하기

https://scbyun.com/832  참고

 

 

CentOS 7에서 chrony를 설치하고 설정하는 방법(ntpd 대체)

CentOS 7에서 chrony를 설치하고 설정하는 방법 chrony 설치 yum install -y chrony chrony 서비스 활성화(enable) 및 서비스 시작(start) systemctl --now enable chronyd (또는) systemctl enable chronyd systemctl start chronyd chrony 설

scbyun.com

 

가상화 장비 시간 초기화하기

 

date -s "2023-02-02 09:00:00"

 


[root@RHEL8 ~]# date
2023. 02. 02. (목) 09:00:30 KST

[root@RHEL8 ~]# systemctl restart chronyd
[root@RHEL8 ~]# chronyc sourcestats -v
                             .- Number of sample points in measurement set.
                            /    .- Number of residual runs with same sign.
                           |    /    .- Length of measurement set (time).
                           |   |    /      .- Est. clock freq error (ppm).
                           |   |   |      /           .- Est. error in freq.
                           |   |   |     |           /         .- Est. offset.
                           |   |   |     |          |          |   On the -.
                           |   |   |     |          |          |   samples. \
                           |   |   |     |          |          |             |
Name/IP Address            NP  NR  Span  Frequency  Freq Skew  Offset  Std Dev
==============================================================================
time.bora.net               2   0     2     +0.000   2000.000   -8551h  4000ms
[root@RHEL8 ~]# date
2024. 01. 24. (수) 16:03:59 KST

 

 

'Tibero' 카테고리의 다른 글

ModuleNotFoundError: No module named '_ssl' 에러 발생  (1) 2024.01.30