일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- tar
- yum
- docker image
- permission
- 같은폴더
- mount
- 리다이렉션
- chmod
- M365필터
- 랜카드인식불량
- swapon
- firewalld
- Kubernetes
- MSBing
- journalctl
- pvcreate
- vgcreate
- newbingai
- 날짜변경
- docker
- HTTPD
- ssh
- lvcreate
- ansible
- 엑셀파일명변경
- chatGPT
- nmcli
- docker network
- vagrant kubernetes
- 프로세스
- Today
- Total
becool
20210719 (월) time zone 변경 본문
[root@compute1 ~]# timedatectl
Local time: Sun 2021-07-18 20:41:06 EDT
Universal time: Mon 2021-07-19 00:41:06 UTC
RTC time: Mon 2021-07-19 00:41:04
Time zone: America/New_York (EDT, -0400)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: yes
Last DST change: DST began at
Sun 2021-03-14 01:59:59 EST
Sun 2021-03-14 03:00:00 EDT
Next DST change: DST ends (the clock jumps one hour backwards) at
Sun 2021-11-07 01:59:59 EDT
Sun 2021-11-07 01:00:00 EST
[root@compute1 ~]# timedatectl list-timezones |grep Seoul
Asia/Seoul
[root@compute1 ~]# timedatectl set-time
set-time set-timezone
[root@compute1 ~]# timedatectl set-timezone Asia/Seoul
[root@compute1 ~]# date
Mon Jul 19 09:41:29 KST 2021
[root@compute1 ~]# timedatectl
Local time: Mon 2021-07-19 09:42:46 KST
Universal time: Mon 2021-07-19 00:42:46 UTC
RTC time: Mon 2021-07-19 00:42:44
Time zone: Asia/Seoul (KST, +0900)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: n/a
ntp패키지는 없는 상태여도 timedatectl 로 변경 가능.
'linux' 카테고리의 다른 글
20210816 (월 ) find (0) | 2021.08.17 |
---|---|
20210816 (월) ganar un certificado (0) | 2021.08.16 |
윈도우터미널에서 ssh 암호없이 원격 접속 (0) | 2021.07.15 |
20210702 (금) dns - apache - tomcat - db (0) | 2021.07.02 |
20210629 (화) IP alias (0) | 2021.06.29 |