Windows subsystem for Linux

Post on 22-Jan-2017

355 views 18 download

Transcript of Windows subsystem for Linux

Windows Subsystem for Linux (WSL)

Jorge ArteiroCloud Development Consultant@jorgearteiro@azuretar

• 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

WSL Architecture

Enable WSL and Development mode

Installation (type bash.exe on Command prompt)

Ubuntu bash running on windows

• Alt + Enter (Fullscreen)

Where is that running ?

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

LxssManager process

Yes, you can run VIM and nano!!!

Ubuntu Unity shell

Xfce4 shell

UnInstall or refresh WSL• lxrun /uninstall /full

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

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