当前位置:网站首页>RedHat 8 time synchronization and time zone modification
RedHat 8 time synchronization and time zone modification
2022-06-24 04:51:00 【HoneyMoose】
In the new RedHat 8 Or updated Linux In the version , We can use
timedatectl
To make some modifications to the time related operations .
Set time zone
When the system is initialized , Setting the time is very necessary , You can use the following method to modify the time zone .
for example , If you want to change the time zone to US Eastern time , Run the following command directly :
timedatectl set-timezone America/New_York
That's all right. .
Set up NTP Sync
before , We still need to pack a lot of NTP Service to synchronize time .
Now just run :
timedatectl set-ntp yes
You can set up automatic synchronization .
Is it very convenient .
summary
Can only run 2 To solve the problem of time synchronization and time zone .
[[email protected] ~]# timedatectl set-timezone America/New_York [[email protected] ~]# timedatectl set-ntp yes
Run the following command to check the status .
[[email protected] ~]# timedatectl status Local time: Thu 2021-09-02 15:39:12 EDT Universal time: Thu 2021-09-02 19:39:12 UTC RTC time: Thu 2021-09-02 19:39:12 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 [[email protected] ~]#
Check the current status , Is it more and more convenient .
边栏推荐
- Here's all you want to know about takin data (1) startup command
- How to select a suitable optical fiber tester
- Huawei cloud gaussdb (for redis) unveiling issue 19: gaussdb (for redis) comprehensive comparison with CODIS
- After purchasing Tencent ECs, how to solve packet loss in Internet access?
- Specificity and correlation of Worthington deoxyribonuclease I
- What is an evpn switch?
- Worthington胰蛋白酶的物化性质及特异性
- 一文简述:供应链攻击知多少
- mysql中表的命名
- 集成阿里云短信服务以及报签名不合法的原因
猜你喜欢

阿里云新一代云计算体系架构 CIPU 到底是啥?

SAP mts/ato/mto/eto topic 8: ATO mode 2 d+ empty mode strategy 85

Facebook内部通告:将重新整合即时通讯功能

少儿编程教育在特定场景中的普及作用

编译器是如何将芯片执行的第一个指令放到芯片起始地址的?

SAP mts/ato/mto/eto topic 10: ETO mode q+ empty mode unvalued inventory policy customization

SAP mts/ato/mto/eto topic 7: ATO mode 1 m+m mode strategy 82 (6892)

How does the compiler put the first instruction executed by the chip at the start address of the chip?

外网访问svn服务器(外网访问部署在云上的svn服务器)

Final summary of freshman semester (supplement knowledge loopholes)
随机推荐
梯度下降法介绍-黑马程序员机器学习讲义
What is an evpn switch?
一款支持内网脱机分享文档的接口测试软件
How does ECS select bandwidth? What types of servers do you usually have?
SAP mts/ato/mto/eto topic 8: ATO mode 2 d+ empty mode strategy 85
Getattribute return value is null
IP and traffic reconciliation tool networktrafficview
Disaster recovery series (IV) - disaster recovery construction of business application layer
Powerbi - for you who are learning
I have an agreement with IOT
Tencent cloud audio and video award-winning evaluation | leave online messages or submit evaluation, win Dajiang UAV /iphone/switch and other awards
Introduction to vulnerability priority technology (VPT)
TCPIP协议详解
少儿编程教育在特定场景中的普及作用
Loss and optimization of linear regression, machine learning to predict house prices
Idea创建Servlet 后访问报404问题
uni-app进阶之认证【day12】
Application and related research of Worthington elastase
Spirit breath development log (15)
Easyanticheat uses to inject unsigned code into a protected process (1)