제어판 프로그램 및 기능옵션 이용
LInux용 window 하위 시스템 check
window 재부팅 후 재 설치
root@il:~# date
Sun Apr 30 04:15:08 AM UTC 2023 - 영국시간으로 출력!
root@il:~# tzselect - tzdata 다운받으면 자동 가능
Please identify a location so that time zone rules can be set correctly.
Please select a continent, ocean, "coord", or "TZ".
1) Africa
2) Americas
3) Antarctica
4) Asia
5) Atlantic Ocean
6) Australia
7) Europe
8) Indian Ocean
9) Pacific Ocean
10) coord - I want to use geographical coordinates.
11) TZ - I want to specify the timezone using the Posix TZ format.
#? 4
Please select a country whose clocks agree with yours.
1) Afghanistan 29) Kyrgyzstan
2) Antarctica 30) Laos
3) Armenia 31) Lebanon
4) Azerbaijan 32) Macau
5) Bahrain 33) Malaysia
6) Bangladesh 34) Mongolia
7) Bhutan 35) Myanmar (Burma)
8) Brunei 36) Nepal
9) Cambodia 37) Oman
10) China 38) Pakistan
11) Christmas Island 39) Palestine
12) Cocos (Keeling) Islands 40) Philippines
13) Cyprus 41) Qatar
14) East Timor 42) Réunion
15) French S. Terr. 43) Russia
16) Georgia 44) Saudi Arabia
17) Hong Kong 45) Seychelles
18) India 46) Singapore
19) Indonesia 47) Sri Lanka
20) Iran 48) Syria
21) Iraq 49) Taiwan
22) Israel 50) Tajikistan
23) Japan 51) Thailand
24) Jordan 52) Turkmenistan
25) Kazakhstan 53) United Arab Emirates
26) Korea (North) 54) Uzbekistan
27) Korea (South) 55) Vietnam
28) Kuwait 56) Yemen
#? 27
The following information has been given:
Korea (South)
Therefore TZ='Asia/Seoul' will be used.
Selected time is now: Sun Apr 30 13:15:03 KST 2023.
Universal Time is now: Sun Apr 30 04:15:03 UTC 2023.
Is the above information OK?
1) Yes
2) No
#? 1
You can make this change permanent for yourself by appending the line
TZ='Asia/Seoul'; export TZ
to the file '.profile' in your home directory; then log out and log in again.
Here is that TZ value again, this time on standard output so that you
can use the /usr/bin/tzselect command in shell scripts:
Asia/Seoul
root@il:~# date - 변경 x
Sun Apr 30 04:15:08 AM UTC 2023
root@il:~# vi ~/.profile
10 TZ-'ASIA/SEOUL'; export TZ
root@il:~# date
Sun Apr 30 01:34:31 PM KST 2023
강사님 방법
root@il7@09:55:12:~# timedatectl set-timezone "Asia/Seoul"