본문 바로가기

Ubuntu

시간세팅

$ timedatectl
               Local time: Thu 2025-05-08 23:31:50 KST
           Universal time: Thu 2025-05-08 14:31:50 UTC
                 RTC time: Thu 2025-05-08 14:32:09
                Time zone: Asia/Seoul (KST, +0900)
System clock synchronized: no
              NTP service: active
          RTC in local TZ: no

 

NTP service가 active하지 않다면,

sudo apt update
sudo apt install systemd-timesyncd
sudo systemctl enable --now systemd-timesyncd

 

sudo vim /etc/systemd/timesyncd.conf

[Time]
NTP=time.*.*.kr

 

sudo systemctl restart systemd-timesyncd
sudo timedatectl set-ntp true
timedatectl status

'Ubuntu' 카테고리의 다른 글

profile.d  (0) 2026.01.01
Chrony  (0) 2025.10.06
Linux Manual  (0) 2025.05.03
make log 파일 만들기  (0) 2025.05.01
Midnight Commander - Local Machine  (0) 2025.05.01