Skip to content

Commit fca2b69

Browse files
committed
Update documentation
1 parent fd14956 commit fca2b69

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed
Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# NTP Server Setup Guide
22

3-
## Setting Up an NTP Server on Linux
4-
53
### Requirements
64
- A Linux system (e.g., Debian, Ubuntu, CentOS)
75
- Sudo or root access
@@ -30,37 +28,3 @@
3028
### Additional Notes
3129
- Ensure firewall settings allow UDP traffic on port 123.
3230
- Regularly monitor service status and synchronization.
33-
34-
---
35-
36-
## Setting Up an NTP Server on Windows
37-
38-
### Requirements
39-
- A Windows machine (Windows Server recommended)
40-
- Administrator access
41-
42-
### Steps
43-
1. **Enable Windows NTP Server**
44-
- Open Registry Editor: `regedit`.
45-
- Navigate to `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer`.
46-
- Set `Enabled` to `1`.
47-
48-
2. **Configure Windows Time Service**
49-
- Open Services: `services.msc`.
50-
- Locate `Windows Time`, set to `Automatic`, and start the service.
51-
52-
3. **Set NTP Settings**
53-
- Open Command Prompt as Admin.
54-
- Configure NTP source: `w32tm /config /manualpeerlist:"time.windows.com" /syncfromflags:manual /reliable:YES /update`.
55-
56-
4. **Restart Windows Time Service**
57-
- Restart service: `net stop w32time && net start w32time`.
58-
59-
5. **Manual Sync and Status Check**
60-
- Force sync: `w32tm /resync`.
61-
- Check status: `w32tm /query /status`.
62-
63-
### Additional Notes
64-
- Adjust firewall to allow NTP traffic (UDP port 123).
65-
- Regular checks of the service are recommended.
66-

0 commit comments

Comments
 (0)