Obsidian/Recognition/Programing/Linux/Ubuntu/리눅스 시간 동기화.md

463 B
Raw Permalink Blame History

#Linux

  • 하드웨어 시간을 시스템에 적용
sudo hwclock --htosys
# or sudo hwclock -s
  • chrony 를 이용하여 시간 서버와 동기화
sudo apt -y install chrony
sudo service chrony start

  • TimeZone 변경

 // Seoul 파일 확인 
 $ ls /usr/share/zoneinfo/Asia

// Localtime 심볼릭 링크 재설정 
 $ sudo ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime   
 
 // 적용 확인 
 $ date