为企业公司设置适用于 Linux 的 Windows 子系统Set up Windows Subsystem for Linux for your enterprise company

对于希望向它们的公司部署 WSL 的企业,适用于企业的 Microsoft Store 为其提供了各种解决方案。The Microsoft Store for Business offers a variety of solutions to Enterprises who want to deploy WSL to their company. 适用于企业和教育的 Microsoft Store 文档是很好的资源,用于了解有关 Store 体验的一般信息。The Microsoft Store for Business and Education docs are a great resource to find out general information about the Store experience.

如果你所在的公司刚刚想要做好准备以便开始部署 WSL,请执行以下步骤:If you're a company that's just looking to get set up to start deploying WSL, follow these steps:

如何在 Windows 上脱机分发 Linux 分发版How to distribute a Linux distribution on Windows offline

如果公司中的计算机无权访问 Microsoft Store 或适用于的企业 Microsoft Store,则可以按照以下步骤下载具有脱机许可证的 Linux 分发版的安装程序。If the computers in your company don't have access to the Microsoft Store or the Microsoft Store for Business, then you can download the installer of a Linux distribution that has an offline license by following these steps.

设置 Azure Active Directory 帐户Set up an Azure Active Directory account

需要注册 Azure AD 帐户并且成为组织的全局管理员,才能获取 Microsoft Store 应用的安装程序。You need to sign up for an Azure AD account and be the global administrator for your organization to get the installer of Microsoft Store apps. 如果已经有了帐户,则可以跳过此步骤。If you already have an account, you can skip this step.

使用适用于企业的 Microsoft Store 帐户设置 WSLSet up WSL using your Microsoft Store for Business account

有关注册帐户的说明,请参阅: https://docs.microsoft.com/microsoft-store/sign-up-microsoft-store-for-businessThe instructions to register an account are found here: https://docs.microsoft.com/microsoft-store/sign-up-microsoft-store-for-business

  1. 登录到适用于企业的 Store,并访问主页: https://www.microsoft.com/business-storeSign into the Store for Business and go to the homepage: https://www.microsoft.com/business-store

    “适用于企业的 MS Store”主页

  2. 访问“管理”>“设置”并启用“显示脱机应用”。Go to Manage > Settings and enable 'Show offline apps'.

    “适用于企业的 MS Store”设置页

  3. 通过选择“为我的组购买”返回到主页。Go back to the main page by selecting 'Shop for my group'.

    “适用于企业的 MS Store”主页

  4. 搜索所需的分发版,然后选择它。Search for your desired distribution and select it.

    “适用于企业的 MS Store”主页,其中包含活动搜索

  5. 在“许可证类型”下拉菜单中选择“脱机”许可证,然后选择“获取应用”。Select an 'Offline' license in the License type dropdown menu and select 'Get the app'. (某些 Linux 分发版可能会选择不提供脱机许可证)。(Some Linux distributions may elect not to provide an offline license).

    “适用于企业的 MS Store”门户的 Ubuntu 页面,其中选择了“脱机”

  6. 选择“管理”按钮以访问应用的产品页。Select the 'Manage' button to get to the app's product page.

    “适用于企业的 MS Store”门户的 Ubuntu 页面,其中选择了“管理”

  7. 选择体系结构,并下载要脱机使用的包。Select your architecture and download the package for offline use.

    在“适用于企业的 MS Store”门户的 Ubuntu 页面,其中选择了体系结构

然后,可以将此安装程序分发到要安装 WSL 的任何计算机。This installer can then be distributed to any computer where you would like to install WSL.