Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques

0
(0)

Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques
 

  • Author:Stuart Leeks
  • Length: 246 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2020-10-23
  • ISBN-10: 1800562446
  • ISBN-13: 9781800562448
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    A hands-on guide that will help you bridge the gap between Windows and Linux to develop apps that leverage the best features across both the ecosystems with seamless interoperability

    Key Features

    • Create development workflows that allow you to switch configurations while working on multiple projects
    • Containerize your development environments with Visual Studio Code and WSL to isolate your dependencies
    • Develop your own custom Linux distros for optimum performance

    Book Description

    Windows Subsystem for Linux (WSL) allows you to run native Linux tools alongside traditional Windows applications. Whether you’re developing applications across multiple operating systems or just want to bring more tools into your Windows environment, WSL offers endless possibilities and seamless interoperability. This book will help you learn about the Windows Subsystem for Linux and how to use it effectively through a hands-on approach.

    WSL 2 is the latest update to Windows Subsystem for Linux that takes compatibility and performance to a whole new level, and this book will help you make the most of it for developing robust applications. You’ll learn how to install and configure Windows Subsystem for Linux, explore various Linux distros, and work across both Windows and Linux environments. As you advance, you’ll understand how to install and customize the Windows Terminal. Later, the book will show you how to work with code in WSL using Visual Studio Code. In addition to this, you’ll discover how to work with containerized development environments.

    By the end of this book, you’ll be able to configure Windows Subsystem for Linux and Windows Terminal to suit your preferences and use Microsoft Visual Studio Code for developing performant applications with WSL.

    What you will learn

    • Install and configure Windows Subsystem for Linux and Linux distros
    • Access web applications running in Linux from Windows
    • Invoke Windows applications, file systems, and environment variables from bash in WSL
    • Customize the appearance and behavior of the Windows Terminal to suit your preferences and workflows
    • Explore various tips for enhancing the Visual Studio Code (VS Code) experience with WSL
    • Install and work with Docker and Kubernetes within Windows Subsystem for Linux
    • Discover various productivity tips for working with Command-line tools in WSL

    Who This Book Is For

    This book is for developers who want to use Linux tools on Windows, including Windows-native programmers looking to ease into a Linux environment based on project requirements or Linux developers who’ve recently switched to Windows. This book is also for web developers working on open source projects with Linux-first tools like Ruby or Python or developers looking to switch between containers and development machines for testing apps. Prior programming or development experience and a basic understanding of running tasks in PowerShell, bash, or the Windows Command Prompt will be required.

    中文:

    书名:Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques

    这是一份实践指南,将帮助您弥合Windows和Linux之间的差距,以开发能够利用这两个生态系统的最佳功能并实现无缝互操作的应用程序

    主要特点

    • 创建允许您在处理多个项目时切换配置的开发工作流
    • 使用Visual Studio代码和WSL容器您的开发环境,以隔离您的依赖项
    • Develop your own custom Linux distros for optimum performance

    图书描述

    Windows Subsystem for Linux(WSL)允许您在运行传统Windows应用程序的同时运行本地Linux工具。无论您是在多个操作系统上开发应用程序,还是只想在您的Windows环境中引入更多工具,WSL都提供了无限的可能性和无缝的互操作性。本书将帮助您了解用于Linux的Windows子系统,以及如何通过实际操作方法有效地使用它。

    WSL2是Windows Subsystem for Linux的最新更新,将兼容性和性能提升到了一个全新的水平,本书将帮助您充分利用它来开发健壮的应用程序。您将学习如何安装和配置Windows Subsystem for Linux,探索各种Linux发行版,以及如何在Windows和Linux环境中工作。随着学习的深入,您将了解如何安装和定制Windows终端。稍后,本书将向您展示如何使用Visual Studio代码在WSL中处理代码。除此之外,您还将了解如何使用容器化开发环境。

    到本书结束时,您将能够为Linux和Windows终端配置Windows子系统以符合您的喜好,并使用Microsoft Visual Studio代码来开发具有WSL的高性能应用程序。

    你将学到什么

    • 为Linux和Linux发行版安装和配置Windows子系统
    • 从Windows访问在Linux中运行的Web应用程序
    • 在WSL中从bash调用Windows应用程序、文件系统和环境变量
    • 自定义Windows终端的外观和行为以适合您的首选项和工作流
    • 探索使用WSL增强Visual Studio代码(VS代码)体验的各种技巧
    • 在Windows Subsystem for Linux内安装和使用Docker和Kubernetes
    • 了解在WSL中使用命令行工具的各种工作效率提示

    这本书是为谁写的

    本书面向希望在Windows上使用Linux工具的开发人员,包括希望根据项目要求轻松进入Linux环境的Windows本地程序员,或者最近切换到Windows的Linux开发人员。这本书也适用于使用Ruby或Python等Linux优先工具从事开源项目的Web开发人员,或者希望在容器和开发机器之间切换以测试应用程序的开发人员。需要有编程或开发经验,并对PowerShell、bash或Windows命令提示符中的运行任务有基本了解。

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册