In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Linux how to configure rdate time server, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.
When configuring multiple servers, it is often necessary to keep the time of each server synchronized. If the server has an external network environment, you can update the time directly with the external time server. You can use the rdate command to update the time:
Rdate-s tick.greyware.com
You can write a script and put it in / etc/cron.hourly to correct the time every hour.
If you are in a private network environment, you can configure a time server by yourself. Take CentOS as an example, the method to configure a time server is as follows:
1. Install xinetd: sudo yum install-y xinetd first
two。 Modify / etc/xinetd.d/time-stream, modify:
Change disable = yes to
Disable = no
3. Start xinetd
Service xinetd start
So that other machines can synchronize time with the machine through rdate.
Rdate-s ip
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.