windows subsystem for linux
TRANSCRIPT
![Page 1: Windows subsystem for Linux](https://reader033.vdocuments.site/reader033/viewer/2022050621/5883bfe81a28ab5c378b6775/html5/thumbnails/1.jpg)
Windows Subsystem for Linux (WSL)
Jorge ArteiroCloud Development Consultant@jorgearteiro@azuretar
![Page 2: Windows subsystem for Linux](https://reader033.vdocuments.site/reader033/viewer/2022050621/5883bfe81a28ab5c378b6775/html5/thumbnails/2.jpg)
• 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](https://reader033.vdocuments.site/reader033/viewer/2022050621/5883bfe81a28ab5c378b6775/html5/thumbnails/3.jpg)
WSL Architecture
![Page 4: Windows subsystem for Linux](https://reader033.vdocuments.site/reader033/viewer/2022050621/5883bfe81a28ab5c378b6775/html5/thumbnails/4.jpg)
Enable WSL and Development mode
![Page 5: Windows subsystem for Linux](https://reader033.vdocuments.site/reader033/viewer/2022050621/5883bfe81a28ab5c378b6775/html5/thumbnails/5.jpg)
Installation (type bash.exe on Command prompt)
![Page 6: Windows subsystem for Linux](https://reader033.vdocuments.site/reader033/viewer/2022050621/5883bfe81a28ab5c378b6775/html5/thumbnails/6.jpg)
Ubuntu bash running on windows
• Alt + Enter (Fullscreen)
![Page 7: Windows subsystem for Linux](https://reader033.vdocuments.site/reader033/viewer/2022050621/5883bfe81a28ab5c378b6775/html5/thumbnails/7.jpg)
Where is that running ?
Per User installationC:\Users\{your user name}\AppData\Local\lxss
LxssManager process
![Page 8: Windows subsystem for Linux](https://reader033.vdocuments.site/reader033/viewer/2022050621/5883bfe81a28ab5c378b6775/html5/thumbnails/8.jpg)
Yes, you can run VIM and nano!!!
![Page 9: Windows subsystem for Linux](https://reader033.vdocuments.site/reader033/viewer/2022050621/5883bfe81a28ab5c378b6775/html5/thumbnails/9.jpg)
Ubuntu Unity shell
![Page 10: Windows subsystem for Linux](https://reader033.vdocuments.site/reader033/viewer/2022050621/5883bfe81a28ab5c378b6775/html5/thumbnails/10.jpg)
Xfce4 shell
![Page 11: Windows subsystem for Linux](https://reader033.vdocuments.site/reader033/viewer/2022050621/5883bfe81a28ab5c378b6775/html5/thumbnails/11.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022050621/5883bfe81a28ab5c378b6775/html5/thumbnails/12.jpg)
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