In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly shows you the "Linux system clock synchronization service NTPD configuration skills", the content is easy to understand, clear, hope to help you solve your doubts, the following let Xiaobian lead you to study and learn "Linux system clock synchronization service NTPD configuration skills" this article.
The following settings take the clock source server IP address 192.168.0.1 as an example.
You can command ntpstat and ntpq-p to view the native NTPD service status.
After the configuration is completed, you need to restart the NTPD service service ntpd restart
[server-side settings]
1. Modify the file ntp.conf under / etc/ as follows:
Server 127.127.1.0 minpoll 4 maxpoll 5
Fudge 127.127.1.0 stratum 2
Restrict 127.0.0.1
Driftfile / var/lib/ntp/drift
two。 Empty the ntpservers contents of the file under / etc/ntp
3. Modify the file step-tickers under / etc/ntp as follows:
127.127.1.0
[client Settings]
1. Modify the file ntp.conf under / etc/ as follows:
Server 192.168.0.1 minpoll 4 maxpoll 5
Fudge 127.127.1.0 stratum 3
Restrict 127.0.0.1
Driftfile / var/lib/ntp/drift
Logfile / etc/ntp.log
Restrict 192.168.0.1 mask 255.255.255.255
two。 Empty the ntpservers contents of the file under / etc/ntp
3. Modify the file step-tickers under / etc/ntp as follows:
192.168.0.1
These are all the contents of this article entitled "what are the NTPD configuration skills of Linux system clock synchronization Service?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.