当前位置:网站首页>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 .
边栏推荐
- What is the new generation cloud computing architecture cipu of Alibaba cloud?
- The trunk warehouse can also be tob, and Tencent cloud microenterprises do not leave quality behind
- Introduction to gradient descent method - black horse programmer machine learning handout
- The official overclocking tool of Intel XTU supports win11 22h2 and 13th generation core Raptor Lake processors
- 编译器是如何将芯片执行的第一个指令放到芯片起始地址的?
- ribbon
- 2020年Android面试题汇总(中级)
- An interface testing software that supports offline document sharing in the Intranet
- Bi-sql distinct
- What is the data center
猜你喜欢

SAP MTS/ATO/MTO/ETO专题之七:ATO模式1 M+M模式策略用82(6892)

解析90后创客教育的主观积极性

Facebook internal announcement: instant messaging will be re integrated

Let children learn the application essence of steam Education

Idea creates a servlet and accesses the 404 message

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

Apipost interface assertion details

Training course of mixed accuracy from simple to deep

让孩子们学习Steam 教育的应用精髓

Introduction à la méthode de descente par Gradient - document d'apprentissage automatique pour les programmeurs de chevaux noirs
随机推荐
Specificity and correlation of Worthington deoxyribonuclease I
How to create an FTP server on the ECS? Is it safe to create an FTP server on the ECS?
Replication of variables in golang concurrency
Idea creates a servlet and accesses the 404 message
Verifying data models in golang
Precautions for online education and training industry filing
Let children learn the application essence of steam Education
SAP MTS/ATO/MTO/ETO专题之八:ATO模式2 D+空模式策略用85
5g and industrial Internet
Spirit breath development log (16)
ARM 架构、ARM7、ARM9、STM32、Cortex M3 M4 、51、AVR 有啥区别
阿里云新一代云计算体系架构 CIPU 到底是啥?
SAP mts/ato/mto/eto topic 10: ETO mode q+ empty mode unvalued inventory policy customization
梯度下降法介绍-黑马程序员机器学习讲义
Collagenase -- four types of crude collagenase from Worthington
Abnova fluorescence in situ hybridization (FISH) probe solution
ribbon
Application practice of helium decentralized lorawan network in Tencent cloud IOT development platform
Abnova peptide design and synthesis solutions
Next. JS + cloud development webify creates an excellent website