In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Deploy the internal NTP time server, assuming that node0 is the master node of the NTP time server, node1 and node2 are both ntp client slave nodes, and the internal network segment is 10.10.75.0.
All nodes install ntp through the yum command, as follows: yum install ntp.
Modify the configuration file / etc/ntp.conf of node0 node
The contents are as follows:
Server 0.cn.pool.ntp.org
Server 0.asia.pool.ntp.org
Server 3.asia.pool.ntp.org
Restrict 0.cn.pool.ntp.org nomodify notrap noquery
Restrict 0.asia.pool.ntp.org nomodify notrap noquery
Restrict 3.asia.pool.ntp.org nomodify notrap noquery
All servers in the # 10.10.75.0 network segment can use the NTP server to synchronize time.
Restrict default ignore
Restrict 10.10.75.0 mask 255.255.255.0 notrap nomodify
Server 127.127.1.0 prefer
Fudge 127.127.1.0 stratum 10
3. On the node1, node2 node, edit / etc/ntp.conf
Add a server NTP time synchronization server IP address prefer
4. All nodes start the ntp service and set the ntp service to boot automatically, with the following command
Service ntpd start
Chkconfig ntpd on
The slave node first uses ntpdate to manually synchronize the time command as follows: ntpdate-u master node IP address
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.