Description
Apress Learn Windows Subsystem for Linux A Practical Guide for Developers and IT Professionals by Singh
Intro -- Table of Contents -- About the Author -- About the Technical Reviewer -- Chapter 1: Getting Started with WSL -- History of Windows Subsystems -- WSL at a Glance -- Advantages of WSL1 -- Architecture and Components of WSL1 -- Disadvantages of WSL1 -- Keywords and Concepts -- Distro -- Subsystems -- Kernel -- Kernel Mode -- User Mode -- System Calls -- Windows NT Kernel -- Linux Kernel -- ELF -- PICO Process -- Summary -- Chapter 2: Downloading, Installation, and Setup -- Enabling the WSL Feature -- GUI Approach -- PowerShell ApproachDownload and Install Linux Distributions (Distros) -- Downloading from Microsoft Store -- Downloading a Distro Manually -- Downloading Using PowerShell -- Downloading Using curl.exe -- Setting Up and Configuring WSL -- Launching the Distro -- Using the Application -- Using wsl.exe -- Using the Executable -- Setting Up and Managing User Account -- Permission Model -- Updating and Upgrading the Distro -- Installing Additional Tools and Packages -- Summary -- Chapter 3: Building Mixed Experiences -- WSL Launch Configuration - wsl.conf -- [automount] Section -- [network] Section -- [interop] SectionWindows-Linux Path Translation - wslpath -- Shared Environment Variables - WSLENV -- Summary -- Chapter 4: Managing WSL Distributions -- List Distributions -- Set Default Distro -- Back Up or Export a WSL Distro -- Restore or Import WSL Distro -- Unregister and Uninstall WSL Distros -- Creating a Custom WSL Distro -- Summary -- Chapter 5: Exploring WSL2 -- New Features in WSL2 -- Architecture of WSL2 -- Installation and Setup -- Enable Windows Subsystem for Linux 1 -- Enable "Virtual Machine Platform" -- Enable Windows Subsystem for Linux 2Verifying the Linux Distribution Subsystem Platform and Rolling Back to WSL1 -- Running WSL2 in a Virtual Machine -- What User Experience Changed from WSL1 to WSL2? -- Faster File Performance -- WSL2 Now Uses Virtual Hardware Disks (VHD) -- Networking Changes and Considerations -- Accessing Windows Applications from Linux -- Accessing Linux Applications from Windows -- Summary -- Chapter 6: File System -- File System Components -- VFS -- volfs -- drvfs -- tmpfs -- procfs, sysfs -- Multiple UNC Provider (MUP) -- 9P (Plan 9 Protocol) -- WSL File System Architecture -- Windows-Linux Case SensitivityWindows and Linux Interoperability -- Accessing Windows Files from Linux -- Accessing Linux Files from Windows -- Summary -- Chapter 7: Networking -- WSL Networking Overview -- Network Interfaces and DNS -- Sockets -- Berkeley Sockets -- socket() -- bind() -- listen() -- connect() -- send(), recv(), sendto(), and recvfrom() -- close() -- Winsock and WSK (Winsock Kernel) -- WSL vs. WSL2 Networking -- Summary -- Chapter 8: Linux Development on WSL -- Source Control -- Installing Git -- Setting Up and Configuring -- Resolving End-of-Line Differences in Windows and Linux