如何在 AWS EC2 的 Windows 服务器上访问 WSL?

how to access WSL on Windows Server on AWS EC2?

WSL 代表 Windows Linux 的子系统。它甚至可以在 EC2 上使用吗?

我找到的所有指南都在谈论 Windows 桌面,而不是服务器。

截至 2017 年 8 月,WSL is available on Windows Server insider builds.。 虽然我还没有尝试过,但我假设您可以启动一个 Windows Server 2016 实例并启用 Windows Insider 更新。 installing WSL on Windows Server is here.

的安装指南

根据文档:https://aws.amazon.com/about-aws/whats-new/2018/05/amazon-ec2-now-offers-windows-server-version-1709-and-1803-amis/

您现在可以使用支持 WLS 的 1803 更新。