Windows subsystem for Linux

12
Windows Subsystem for Linux (WSL) Jorge Arteiro Cloud Development Consultant @jorgearteiro @azuretar

Transcript of Windows subsystem for Linux

Page 1: Windows subsystem for Linux

Windows Subsystem for Linux (WSL)

Jorge ArteiroCloud Development Consultant@jorgearteiro@azuretar

Page 2: Windows subsystem for Linux

• Called Windows Subsystem for Linux (WSL)• Real Ubuntu binary running on windows

14.04• 188Mb Download and 576Mb on disk• Same Network stack• SSH, docker client, NPM, NodeJS, Redis, etc• Kernel driver/provider translates syscalls to

native Windows kernel calls.

Bash on Ubuntu on Windows

Page 3: Windows subsystem for Linux

WSL Architecture

Page 4: Windows subsystem for Linux

Enable WSL and Development mode

Page 5: Windows subsystem for Linux

Installation (type bash.exe on Command prompt)

Page 6: Windows subsystem for Linux

Ubuntu bash running on windows

• Alt + Enter (Fullscreen)

Page 7: Windows subsystem for Linux

Where is that running ?

Per User installationC:\Users\{your user name}\AppData\Local\lxss

LxssManager process

Page 8: Windows subsystem for Linux

Yes, you can run VIM and nano!!!

Page 9: Windows subsystem for Linux

Ubuntu Unity shell

Page 10: Windows subsystem for Linux

Xfce4 shell

Page 11: Windows subsystem for Linux

UnInstall or refresh WSL• lxrun /uninstall /full

To re-install: (after restarting command prompt)lxrun /install /y or bash.exe

Page 12: Windows subsystem for Linux

Useful Links• VcXsrv (Xserver for windows)https://sourceforge.net/projects/vcxsrv/?source=typ_redirect • Microsoft bash on Windowshttps://github.com/Microsoft/BashOnWindows • WSL-Programshttps://github.com/ethanhs/WSL-PROGRAMS