当前位置:网站首页>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 .
边栏推荐
- Doctor application | Hong Kong University of science and Technology (Guangzhou) Mr. Liu Hao recruits the full award doctor / Master in data mining
- 2020年Android面试题汇总(中级)
- 提pr,push 的时候网络超时配置方法
- Beauty of script │ VBS introduction interactive practice
- 黑马程序员机器学习讲义:线性回归api初步使用
- How to select a suitable optical fiber tester
- Disaster recovery series (IV) - disaster recovery construction of business application layer
- 解析后人类时代类人机器人的优越性
- An interface testing software that supports offline document sharing in the Intranet
- How does the VPS server upload data? Is the VPS server free to use?
猜你喜欢

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

Detailed explanation of tcpip protocol

Abnova membrane protein lipoprotein solution

An interface testing software that supports offline document sharing in the Intranet

Zhang Xiaodan, chief architect of Alibaba cloud hybrid cloud: evolution and development of government enterprise hybrid cloud technology architecture

Introduction à la méthode de descente par Gradient - document d'apprentissage automatique pour les programmeurs de chevaux noirs

2022年二级造价工程师备考攻略,你准备好了吗?

Abnova荧光原位杂交(FISH)探针解决方案

Idea creates a servlet and accesses the 404 message

SAP mts/ato/mto/eto topic 8: ATO mode 2 d+ empty mode strategy 85
随机推荐
SAP mts/ato/mto/eto topic 10: ETO mode q+ empty mode unvalued inventory policy customization
大一下学期期末总结(补充知识漏洞)
Worthington木瓜蛋白酶化学性质和特异性
How to build an ECS and how to control the server through the local host
Idea creates a servlet and accesses the 404 message
What is an ECS? What is the difference between ECs and traditional servers?
Data acquisition gateway intelligent industrial Internet of things
How to control CDN traffic gracefully in cloud development?
How does ECS build websites? Is it troublesome for ECs to build websites?
SAP mts/ato/mto/eto topic 8: ATO mode 2 d+ empty mode strategy 85
问题:sql创建存储过程
Clickhouse thread occupation troubleshooting and killing
Introduction to C language custom types (structure, enumeration, union, bit segment)
Introduction to gradient descent method - black horse programmer machine learning handout
How to create an FTP server on the ECS? Is it safe to create an FTP server on the ECS?
Collagenase -- four types of crude collagenase from Worthington
2020年Android面试题汇总(中级)
Facebook internal announcement: instant messaging will be re integrated
外网访问svn服务器(外网访问部署在云上的svn服务器)
"Emergency response practice" logparser log analysis practice