본문 바로가기
MS Azure, Google Cloud Platform/Google Cloud Platform (Compute Engine)

Change system time in centos7.

by swconsulting swconsulting 2018. 5. 20.
[root@centos7 ~]# timedatectl
      Local time: Mon 2014-11-03 22:44:24 MYT
  Universal time: Mon 2014-11-03 14:44:24 UTC
        RTC time: Mon 2014-11-03 14:44:24
        Timezone: Asia/Kuala_Lumpur (MYT, +0800)
     NTP enabled: n/a
NTP synchronized: no
 RTC in local TZ: no
      DST active: n/a
[root@centos7 ~]# timedatectl list-timezones | grep Asia
Asia/Aden
Asia/Almaty
Asia/Amman
Asia/Anadyr
Asia/Aqtau
Asia/Aqtobe
Asia/Ashgabat
Asia/Baghdad
..
Asia/Kuala_Lumpur
..
[root@centos7 ~]# timedatectl set-timezone Asia/Kuala_Lumpur


$ set-timezone Asia/Seoul



$ date

Sun May 20 09:24:07 KST 2018





댓글0