In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Linux how to set up network time synchronization, in response to this problem, this article details the corresponding analysis and solution, hoping to help more small partners who want to solve this problem find a simpler and easier way.
Linux time is divided into System Clock and Real Time Clock (RTC).
System time: refers to the time in the current Linux Kernel.
Hardware time: The time when battery power is available on the motherboard.
Command to view system time: #date Command to set system time: #date-set (MM/DD/YYY: MM: SS) Example: #date-set "10/11/10 10:15" Command to view hardware time: #hwclock Command to set hardware time: # hwclock-set-date =(MM/DD/YYY: MM: SS) The above mentioned is to manually set the time to a point in time, which may be different from the current network time. Here's how to synchronize with time on a time server
Install ntpdate tool
yum -y install ntp ntpdate
Set system time to synchronize with network time
ntpdate cn.pool.ntp.orgor => ntpdate -u ntp.api.bz
Write system time to hardware time
hwclock –w
4. When viewing hardware
Linux is a free-to-use and freely distributed UNIX-like operating system, a POSIX-based multiuser, multitasking, multithreaded, and multiCPU operating system that runs major Unix tools, applications, and network protocols.
About Linux how to set up the network time synchronization problem answer to share here, I hope the above content can have some help for everyone, if you still have a lot of doubts not solved, you can pay attention to the industry information channel to learn more related knowledge.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.