Skip to content

Commit

Permalink
21-development.md: support Windows Server
Browse files Browse the repository at this point in the history
That OS need NetFx3ServerFeatures to be enabled before NetFx3.
  • Loading branch information
Al2Klimov authored Jan 8, 2025
1 parent 1065d3b commit 7ff9d5e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/21-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -1736,9 +1736,11 @@ and don't care for the details,

1. ensure there are 35 GB free space on C:
2. run the following in an administrative Powershell:
1. `Enable-WindowsOptionalFeature -FeatureName "NetFx3" -Online`
1. `Enable-WindowsOptionalFeature -FeatureName NetFx3ServerFeatures -Online`
(Windows Server only)
2. `Enable-WindowsOptionalFeature -FeatureName NetFx3 -Online`
(reboot when asked!)
2. `powershell -NoProfile -ExecutionPolicy Bypass -Command "Invoke-Expression (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/Icinga/icinga2/master/doc/win-dev.ps1')"`
3. `powershell -NoProfile -ExecutionPolicy Bypass -Command "Invoke-Expression (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/Icinga/icinga2/master/doc/win-dev.ps1')"`
(will take some time)

This installs everything needed for cloning and building Icinga 2
Expand Down

0 comments on commit 7ff9d5e

Please sign in to comment.