In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Set up a window time server:
Server configuration for Windows Server 2003 and Windows Sever 2008
1) Open firewall 123UDP port
2) enter "gpedit.msc" while running
3) expand Administrative templates\ system\ Windows time Services\ Global configuration Settings in computer configuration (if displayed) under policies.
4) change its status to "enabled"
5) change the AnnounceFlags parameter value to 5
Parameter meaning: a) 0 is not a time server; b) 1 is always a time server; c) 2 is automatically a time server, which means that the role is determined by the Windows time service; d) 4 is always a reliable time server; e) 8 is automatically a reliable time server, which means that the role is determined by the Windows time service.
6) expand "Administrative templates\ system\ Windows time Services\ time providers\ enable Windows NTP Server" in "computer configuration" under "Policy" (if displayed)
7) change its status to "enabled"
8) start the Windows Time service in the Windows service and set the startup type to "automatic"
9) complete.
Client configuration applies to Windows XP, Windows Server 2003, Windows Vista, Windows 7, and Windows Sever 2008.
1) enter "gpedit.msc" while running
2) expand "Administrative templates\ system\ Windows time Service\ time provider\ enable Windows NTP client" in "computer configuration" under "Policy" (if displayed)
3) change its status to "enabled"
4) expand "Administrative templates\ system\ Windows time Services\ time providers\ configure Windows NTP client" in "computer configuration" under "Policy" (if displayed)
5) change its status to "enabled"
6) change the IP in the NtpServer parameter to the time server address, for example: 192.168.0.1
7) change the Type parameter NTP
8) start the Windows Time service in the Windows service and set the startup type to "automatic"
9) complete.
The bat script is as follows:
@ echo offecho autor OAK@echo offecho-@ echo offecho setup time resync every one hour@echo offREG ADD HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ W32Time\ TimeProviders\ NtpClient / v SpecialPollInterval / t REG_DWORD / d 3600 / f@echo offecho-- echo setup W32time auto startup@echo offREG ADD HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ W32Time / v Start / t REG_DWORD / d 2 / f@echo offecho-@ echo offset / p TimeServer=Please Input The TimeServer IP:net time / setsntp:%TimeServer%net stop w32timenet start w32timew32tm / resync
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.