Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How RedHat 7 modifies the time zone of Linux

2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

RedHat 7 how to modify the time zone of Linux, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.

The operating system is:

Red Hat Enterprise Linux Server release 7.4 (Maipo)

View the current time zone:

[root@ip-172-31-29-22 sysconfig] # timedatectl

Local time: Tue 2018-01-09 08:01:21 UTC

Universal time: Tue 2018-01-09 08:01:21 UTC

RTC time: Tue 2018-01-09 08:01:20

Time zone: UTC (UTC, + 0000)

NTP enabled: yes

NTP synchronized: yes

RTC in local TZ: no

DST active: n/a

Modify the time zone:

[root@ip-172-31-29-22 sysconfig] # timedatectl set-timezone Asia/Shanghai

View the modified time zone:

[root@ip-172-31-29-22] # timedatectl

Local time: Tue 2018-01-09 16:04:55 CST

Universal time: Tue 2018-01-09 08:04:55 UTC

RTC time: Tue 2018-01-09 08:04:54

Time zone: Asia/Shanghai (CST, + 0800)

NTP enabled: yes

NTP synchronized: yes

RTC in local TZ: no

DST active: n/a

After reading the above, have you mastered how RedHat 7 changes the time zone of Linux? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report