Skip to content

Commit c730836

Browse files
committed
Merge remote-tracking branch 'origin/live'
2 parents 6abd78f + c930453 commit c730836

17 files changed

+1699
-1690
lines changed

commandline/WSL/TOC.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11

22
# [About the Windows Subsystem for Linux](./about.md)
3-
# [Install on Windows 10](./install_guide.md)
3+
# [Install on Windows 10](./install-win10.md)
44
# [Install on Windows Server](./install-on-server.md)
5-
# [User account and permissions](./user_support.md)
5+
# [User account and permissions](./user-support.md)
66
# [Multi-distro management](./wsl-config.md)
77
# [Interoperability](./interop.md)
88
# [Frequently Asked Questions](./faq.md)
99
# [Troubleshooting](./troubleshooting.md)
10-
# [Release Notes](./release_notes.md)
10+
# [Release Notes](./release-notes.md)

commandline/WSL/about.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Learn about the Windows Subsystem for Linux
33
description: Learn more about how the Windows Subsystem for Linux works.
44
keywords: BashOnWindows, bash, wsl, windows, windowssubsystem
55
author: scooley
6+
ms.author: scooley
67
ms.date: 7/11/2016
78
ms.topic: article
89
ms.prod: windows-subsystem-for-linux

commandline/WSL/architectural_overview.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

commandline/WSL/faq.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Frequently Asked Questions (FAQ)
33
description: Frequently Asked Questions about the Windows Subsystem for Linux.
44
keywords: BashOnWindows, bash, wsl, windows, windowssubsystem
55
author: scooley
6+
ms.author: scooley
67
ms.date: 7/31/2017
78
ms.topic: article
89
ms.prod: windows-subsystem-for-linux

commandline/WSL/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
2-
redirect_url: https://msdn.microsoft.com/commandline/wsl/about
3-
---
2+
redirect_url: about
3+
---

commandline/WSL/install-on-server.md

Lines changed: 8 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ title: Install the Linux Subsystem on Windows Server
33
description: Installation instructions for the Linux Subsystem on Windows Server.
44
keywords: BashOnWindows, bash, wsl, windows, windows subsystem for linux, windowssubsystem, ubuntu, windows server
55
author: scooley
6-
ms.date: 7/11/2017
6+
ms.author: scooley
7+
ms.date: 11/15/2017
78
ms.topic: article
89
ms.prod: windows-subsystem-for-linux
910
ms.service: windows-subsystem-for-linux
@@ -12,48 +13,9 @@ ms.assetid: 9281ffa2-4fa9-4078-bf6f-b51c967617e3
1213

1314
# Windows Server Installation Guide
1415

15-
At //Build2017, Microsoft announced that Windows Subsystem for Linux will be [available on Windows Server](https://blogs.technet.microsoft.com/hybridcloud/2017/05/10/windows-server-for-developers-news-from-microsoft-build-2017/). These instructions help you become a Windows Insider, download Windows Server, and get Linux running on the Windows Subsystem for Linux.
16+
> Applies to Windows Server 1709 and later
1617
17-
## Prerequisites
18-
19-
Windows Server (build 16215+). Right now, that means a Windows Insider's build.
20-
21-
Already have Windows Server preview? [Skip ahead](install-on-server.md#enable-the-windows-subsystem-for-linux).
22-
23-
### Join Windows Insiders and Download Windows Server
24-
25-
1. Join a Windows Insiders program:
26-
* [Windows Insiders](https://insider.windows.com)
27-
* [Windows Insiders for Business](https://insider.windows.com/ForBusiness)
28-
29-
2. Download [Windows Server - Insider Preview](https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewserver).
30-
Make sure you're logged in, images are only available to Windows Insiders.
31-
32-
### Set up Windows Server
33-
34-
Now that you have a Windows Server image (.iso), install Windows Server on a physical computer or a virtual machine. I'm going to use a virtual machine on Hyper-V.
35-
36-
Here are instructions for [enabling Hyper-V](https://docs.microsoft.com/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v) and [creating a new virtual machine from an .iso](https://docs.microsoft.com/virtualization/hyper-v-on-windows/quick-start/quick-create-virtual-machine).
37-
38-
During installation, Windows Server will ask for a product key. The following keys are available for unlimited activations of Windows Server (pre-release builds only). These keys may be used throughout the pre-release cycle. Read more [here](https://blogs.windows.com/windowsexperience/2017/07/13/announcing-windows-server-insider-preview-build-16237).
39-
* Server Datacenter Core: B69WH-PRNHK-BXVK3-P9XF7-XD84W
40-
* Server Standard Core: V6N4W-86M3X-J77X3-JF6XW-D9PRV
41-
42-
When you're done, you should see something like this:
43-
![](media/WindowsServer.png)
44-
45-
### Check your build number
46-
47-
To find your Windows Server build number, run the following in PowerShell:
48-
``` PowerShell
49-
systeminfo | Select-String "^OS Name","^OS Version"
50-
```
51-
52-
You can also confirm that your build has the Windows Subsystem for Linux by running the following in PowerShell:
53-
``` PowerShell
54-
PowerShell
55-
Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
56-
```
18+
At //Build2017, Microsoft announced that Windows Subsystem for Linux will be [available on Windows Server](https://blogs.technet.microsoft.com/hybridcloud/2017/05/10/windows-server-for-developers-news-from-microsoft-build-2017/). These instructions walk through running on the Windows Subsystem for Linux on Windows Server 1709 and later.
5719

5820
## Enable the Windows Subsystem for Linux
5921
Enable the "Windows Subsystem for Linux" optional feature and reboot.
@@ -101,14 +63,14 @@ Enable the "Windows Subsystem for Linux" optional feature and reboot.
10163
10264
> **Troubleshooting: Installation failed with error 0x8007007e**
10365
> This error occurs when your system doesn't support WSL. Make sure that:
104-
> * You're running Windows build 16215 or later. [Check your build](install_guide.md#prerequisites).
105-
> * The Windows Subsystem for Linux optional component is enabled and the computer has restarted. [Instructions here](install_guide.md#install-the-windows-subsystem-for-linux).
66+
> * You're running Windows build 16215 or later. [Check your build](troubleshooting.md#check-your-build-number).
67+
> * The Windows Subsystem for Linux optional component is enabled and the computer has restarted. [Make sure WSL is enabled](troubleshooting.md#confirm-wsl-is-enabled).
10668
10769
4. Create a UNIX user
10870
10971
The first time you install the Windows Subsystem for Linux, you will be prompted to create a UNIX username and password.
11072
111-
This UNIX username and password can be different from, and has no relationship to, your Windows username and password. [Learn more about your UNIX account.](https://msdn.microsoft.com/en-us/commandline/wsl/user_support).
73+
This UNIX username and password can be different from, and has no relationship to, your Windows username and password. [Learn more about your UNIX account.](user-support.md).
11274
11375
5. Run distro's preferred update/upgrade.
11476
@@ -119,4 +81,4 @@ Enable the "Windows Subsystem for Linux" optional feature and reboot.
11981
12082
You're done! Go use your new Linux environment!
12183
122-
![](media/server-cowsay.png)
84+
![](media/server-cowsay.png)

commandline/WSL/install-win10.md

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
title: Install the Linux Subsystem on Windows 10
3+
description: Installation instructions for the Linux Subsystem on Windows 10.
4+
keywords: BashOnWindows, bash, wsl, windows, windows subsystem for linux, windowssubsystem, ubuntu, windows 10
5+
author: scooley
6+
ms.author: scooley
7+
ms.date: 7/11/2017
8+
ms.topic: article
9+
ms.prod: windows-subsystem-for-linux
10+
ms.service: windows-subsystem-for-linux
11+
ms.assetid: 7afaeacf-435a-4e58-bff0-a9f0d75b8a51
12+
---
13+
14+
# Windows 10 Installation Guide
15+
16+
## Install the Windows Subsystem for Linux
17+
Enable the "Windows Subsystem for Linux" optional feature and reboot.
18+
19+
1. Open PowerShell as Administrator and run:
20+
``` PowerShell
21+
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
22+
```
23+
24+
2. Restart your computer when prompted.
25+
26+
## Fall Creators Update and later: Install from the Windows Store
27+
28+
> This section is for Windows Insiders (build 16215 or later). Follow these steps to [Check your build](troubleshooting.md#check-your-build-number). For earlier versions of Windows 10, follow [these instructions using lxrun](install-win10.md#for-anniversary-update-and-creators-update-install-using-lxrun).
29+
30+
1. Open the Windows Store and choose your favorite Linux distribution.
31+
Here are links directly to the store installers:
32+
* [Ubuntu](https://www.microsoft.com/store/p/ubuntu/9nblggh4msv6)
33+
* [OpenSUSE](https://www.microsoft.com/store/apps/9njvjts82tjx)
34+
* [SLES](https://www.microsoft.com/store/apps/9p32mwbh6cns)
35+
36+
![](media/UbuntuStore.png)
37+
38+
2. Select "Get"
39+
40+
> **Troubleshooting: Installation failed with error 0x80070003**
41+
> The Windows Subsystem for Linux only runs on your system drive (usually this is your C: drive). Make sure that new apps are stored on your system drive.
42+
> Open **Settings** -> **Storage** -> **More Storage Settings: Change where new content is saved**
43+
> ![](media/AppStorage.png)
44+
45+
3. Once the download has completed, select "Launch".
46+
This will open a console window. Wait for installation to complete then you will be prompted to create your UNIX user account.
47+
![](media/UbuntuInstall.png)
48+
49+
> **Troubleshooting: Installation failed with error 0x8007007e**
50+
> This error occurs when your system doesn't support Linux from the store. Make sure that:
51+
> * You're running Windows build 16215 or later. [Check your build](troubleshooting.md#check-your-build-number).
52+
> * The Windows Subsystem for Linux optional component is enabled and the computer has restarted. [Make sure WSL is enabled](troubleshooting.md#confirm-wsl-is-enabled).
53+
54+
55+
56+
5. Create your UNIX username and password. This user account can be different from, and has no relationship to, your Windows username and password. [Read more](user-support.md).
57+
58+
You're done! Now you can use your Linux environment.
59+
60+
## For Anniversary Update and Creators Update: Install using lxrun
61+
lxrun installs Ubuntu user-mode by default on top of the Windows subsystem for Linux.
62+
63+
> Since moving to the store, we have stopped keeping this user-mode image up to date. When you're done, run `apt-get update`.
64+
65+
1. Turn on Developer Mode
66+
67+
Open **Settings** -> **Update and Security** -> **For developers**
68+
69+
Select the Developer Mode radio button
70+
![](media/updateAndSecurity.png)
71+
72+
2. Open a command prompt. Run `bash`
73+
![](media/bashShellInstall.png)
74+
75+
After you have accepted the License, the Ubuntu user-mode image will be downloaded and extracted. A "Bash on Ubuntu on Windows" shortcut will be added to your start menu.
76+
77+
3. Launch a new Ubuntu shell by either:
78+
* Running `bash` from a command-prompt
79+
* Clicking the start menu shortcut
80+
81+
4. Create a UNIX user
82+
83+
The first time you install the Windows subsystem for Linux, you will be prompted to create a UNIX username and password.
84+
![](media/new-user.png)
85+
86+
This UNIX username and password can be different from, and has no relationship to, your Windows username and password. [Learn more about your UNIX account.](user-support.md).
87+
88+
After installation your Linux distribution will be located at: `%localappdata%\lxss\`.

commandline/WSL/install_guide.md

Lines changed: 1 addition & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1,100 +1,3 @@
11
---
2-
title: Install the Linux Subsystem on Windows 10
3-
description: Installation instructions for the Linux Subsystem on Windows 10.
4-
keywords: BashOnWindows, bash, wsl, windows, windows subsystem for linux, windowssubsystem, ubuntu, windows 10
5-
author: scooley
6-
ms.date: 7/11/2017
7-
ms.topic: article
8-
ms.prod: windows-subsystem-for-linux
9-
ms.service: windows-subsystem-for-linux
10-
ms.assetid: 7afaeacf-435a-4e58-bff0-a9f0d75b8a51
2+
redirect_url: install-win10
113
---
12-
13-
# Windows 10 Installation Guide
14-
15-
## Prerequisites
16-
Your PC must be running a 64-bit version of Windows 10 Anniversary Update or later (build 1607+).
17-
18-
To find your PC's architecture and Windows build number, open
19-
**Settings** > **System** > **About**
20-
21-
Look for the **OS Build** and **System Type** fields.
22-
![](media/system.png)
23-
24-
## Install the Windows Subsystem for Linux
25-
Enable the "Windows Subsystem for Linux" optional feature and reboot.
26-
27-
1. Open PowerShell as Administrator and run:
28-
``` PowerShell
29-
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
30-
```
31-
32-
2. Restart your computer when prompted.
33-
34-
## Fall Creators Update and later: Install from the Windows Store
35-
36-
> This section is for Windows Insiders (build 16215 or later). Follow these steps to [Check your build](install_guide.md#prerequisites). For earlier versions of Windows 10, follow [these instructions using lxrun](install_guide.md#for-anniversary-update-and-creators-update-install-using-lxrun).
37-
38-
1. Open the Windows Store and choose your favorite Linux distribution.
39-
Here are links directly to the store installers:
40-
* [Ubuntu](https://www.microsoft.com/store/p/ubuntu/9nblggh4msv6)
41-
* [OpenSUSE](https://www.microsoft.com/store/apps/9njvjts82tjx)
42-
* [SLES](https://www.microsoft.com/store/apps/9p32mwbh6cns)
43-
44-
![](media/UbuntuStore.png)
45-
46-
2. Select "Get"
47-
48-
> **Troubleshooting: Installation failed with error 0x80070003**
49-
> The Windows Subsystem for Linux only runs on your system drive (usually this is your C: drive). Make sure that new apps are stored on your system drive.
50-
> Open **Settings** -> **Storage** -> **More Storage Settings: Change where new content is saved**
51-
> ![](media/AppStorage.png)
52-
53-
3. Once the download has completed, select "Launch".
54-
This will open a console window. Wait for installation to complete then you will be prompted to create your UNIX user account.
55-
![](media/UbuntuInstall.png)
56-
57-
> **Troubleshooting: Installation failed with error 0x8007007e**
58-
> This error occurs when your system doesn't support Linux from the store. Make sure that:
59-
> * You're running Windows build 16215 or later. [Check your build](install_guide.md#prerequisites).
60-
> * The Windows Subsystem for Linux optional component is enabled. [Instructions here](install_guide.md#Install-the-Windows-Subsystem-for-Linux).
61-
62-
63-
5. Create your UNIX username and password. This user account can be different from, and has no relationship to, your Windows username and password. [Read more](https://msdn.microsoft.com/en-us/commandline/wsl/user_support).
64-
65-
You're done! Now you can use your Linux environment.
66-
67-
## For Anniversary Update and Creators Update: Install using lxrun
68-
lxrun installs Ubuntu user-mode by default on top of the Windows subsystem for Linux.
69-
70-
> Since moving to the store, we have stopped keeping this user-mode image up to date. When you're done, run apt-get update.
71-
72-
1. Turn on Developer Mode
73-
74-
Open **Settings** -> **Update and Security** -> **For developers**
75-
76-
Select the Developer Mode radio button
77-
![](media/updateAndSecurity.png)
78-
79-
2. Open a command prompt. Run `bash`
80-
![](media/bashShellInstall.png)
81-
82-
After you have accepted the License, the Ubuntu user-mode image will be downloaded and extracted. A "Bash on Ubuntu on Windows" shortcut will be added to your start menu.
83-
84-
3. Launch a new Ubuntu shell by either:
85-
* Running `bash` from a command-prompt
86-
* Clicking the start menu shortcut
87-
88-
4. Create a UNIX user
89-
90-
The first time you install the Windows subsystem for Linux, you will be prompted to create a UNIX username and password.
91-
![](media/new-user.png)
92-
93-
This UNIX username and password can be different from, and has no relationship to, your Windows username and password. [Learn more about your UNIX account.](https://msdn.microsoft.com/en-us/commandline/wsl/user_support).
94-
95-
After installation your Linux distribution will be located at: `%localappdata%\lxss\`.
96-
97-
**Avoid creating and/or modifying files in %localappdata%\lxss\ using Windows tools and apps!** If you do, it is likely that your Linux files will be corrupted and data loss may occur. Avoid this issue by using a directory located under /mnt/.
98-
Read this [blog post](https://blogs.msdn.microsoft.com/commandline/2016/11/17/do-not-change-linux-files-using-windows-apps-and-tools/) for more information.
99-
100-
You're done! Go use your new Linux environment!

commandline/WSL/interop.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Windows interoperability with Linux
33
description: Describes Windows interoperability with Linux distributions running on the Windows Subsystem for Linux.
44
author: scooley
5+
ms.author: scooley
56
ms.date: 7/31/2017
67
ms.topic: article
78
ms.prod: windows-subsystem-for-linux

commandline/WSL/reference.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Windows Subsystem for Linux Command Reference
33
description: List of commands that manage the Windows Subsystem for Linux
44
keywords: BashOnWindows, bash, wsl, windows, windows subsystem for linux, windowssubsystem, ubuntu
55
author: scooley
6+
ms.author: scooley
67
ms.date: 7/31/2017
78
ms.topic: article
89
ms.prod: windows-subsystem-for-linux

0 commit comments

Comments
 (0)