rocky linux에서 rdate가 없네요. yum으로 설치도 안되고.

기본 명령어를 이용해서 시간을 맞추는 방법입니다.

 

[root@localhost ~]# timedatectl
               Local time: Wed 2025-09-10 00:32:28 EDT
           Universal time: Wed 2025-09-10 04:32:28 UTC
                 RTC time: Wed 2025-09-10 13:32:28
                Time zone: America/New_York (EDT, -0400)
System clock synchronized: no
              NTP service: active
          RTC in local TZ: no
[root@localhost ~]#
[root@localhost ~]# timedatectl set-timezone Asia/Seoul
[root@localhost ~]# timedatectl
               Local time: Wed 2025-09-10 13:32:45 KST
           Universal time: Wed 2025-09-10 04:32:45 UTC
                 RTC time: Wed 2025-09-10 13:32:45
                Time zone: Asia/Seoul (KST, +0900)
System clock synchronized: no
              NTP service: active
          RTC in local TZ: no
[root@localhost ~]#
[root@localhost ~]# chronyc sources
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^? 175.210.18.47                 0   8     0     -     +0ns[   +0ns] +/-    0ns
^? ipv4.ntp3.rbauman.com         0   9     0     -     +0ns[   +0ns] +/-    0ns
^? 121.174.142.82                0   9     0     -     +0ns[   +0ns] +/-    0ns
^? 193.123.243.2                 0   9     0     -     +0ns[   +0ns] +/-    0ns
^? mail.innotab.com              0   9     0     -     +0ns[   +0ns] +/-    0ns
^? 121.174.142.81                0   8     0     -     +0ns[   +0ns] +/-    0ns
^? any.time.nl                   0   9     0     -     +0ns[   +0ns] +/-    0ns
[root@localhost ~]#
[root@localhost ~]# timedatectl
               Local time: Wed 2025-09-10 13:38:04 KST
           Universal time: Wed 2025-09-10 04:38:04 UTC
                 RTC time: Wed 2025-09-10 13:38:04
                Time zone: Asia/Seoul (KST, +0900)
System clock synchronized: no
              NTP service: active
          RTC in local TZ: no
[root@localhost ~]#

'기술 노트 > ROCKY' 카테고리의 다른 글

pem to jks  (0) 2026.02.13
패스워드 복잡도 설정  (0) 2026.01.14
sudoers 설정하기  (0) 2025.07.07
ROCKY 설치하기  (0) 2025.07.07

+ Recent posts