From ab0f20d8d6354af140967b0d2773c97eadac811e Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Mon, 13 Jan 2025 11:29:38 +0100 Subject: [PATCH] 21-development.md: support Windows Server That OS need NetFx3ServerFeatures to be enabled before NetFx3. --- doc/21-development.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/21-development.md b/doc/21-development.md index 4b7595f1a2..3cfec12d53 100644 --- a/doc/21-development.md +++ b/doc/21-development.md @@ -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. Windows Server only: + `Enable-WindowsOptionalFeature -FeatureName NetFx3ServerFeatures -Online` + 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