是否可以在 windows 服务器 2008 r2 上安装 WSL 或 windows 终端?

Is it possible install WSL or windows terminal on windows server 2008 r2?

我需要安装 WSL 或 windows 终端才能将其用作 visual studio 代码终端,但我只能找到 windows 10 或 windows 服务器(2016 , 2019)... 我不知道我是否可以在 windows 服务器 2008 r2 上安装它们。 你能帮帮我吗?

很遗憾,WSL 不适用于 Windows Server 2008r2。最好的办法是安装 Linux in a virtual machine leveraging HyperV on 2008r2, or perhaps using VMware Workstation or Virtualbox。或者,对于重量更轻的东西,您可能会安装类似的东西 Cygwin 相反。

不幸的是没有。您可以改用 Cygwin。它既旧又过时,但 Windows 2008 年也是如此,不是吗?