Pro Windows Subsystem for Linux (WSL)

Pro Windows Subsystem for Linux (WSL)
Author: Hayden Barnes
Publisher: Apress
Total Pages: 280
Release: 2021-03-19
Genre: Computers
ISBN: 9781484268728

Everything a developer needs to know in order to hit the ground running with Windows Subsystem for Linux (WSL)! Since its release, Windows Subsystem for Linux (WSL) has seen great gains in popularity, moving from curious early adopters to wide scale interest from teams at large enterprises. This authoritative guide to WSL covers the gamut, introducing developers to architecture, installation, and the command line, all the way to advanced configurations. Practical use cases are sprinkled throughout to reinforce understanding. This book is design to efficiently and effectively get developers comfortable using this exciting set of open source tools- tools that are uniquely suited to cloud-based development and management workflows on Windows, including Azure. Windows developers will begin with the basics of installation and then be introduced to a vast library of open source tools that they can integrate into their own workflows, using their existing development tools, like Code, Visual Studio, and JetBrains IDEs, or they can explore new ones like GNOME Builder or KDevelop. This book also covers the topic of cross-platform development of Windows and Linux applications, with tools built into Visual Studio and cross-platform libraries from WSL distros. Expert author Hayden Barnes firmly believes that much of what WSL is, is what developers make of it, a guiding mantra that is reinforced throughout this valuable cross platform learning journey. Developers will get excited about the many new opportunities at their fingertips and be astounded at what they can do and achieve with WSL. What You Will Learn How to install and configure WSL, a unique and novel configuration process Understand the Linux command line, including utilities such as the file system, a text editor, shell scripting, and installing packages Receive an unbiased overview of WSL, its architecture, installation, the command line, practical use cases, and advanced configuration. Create a development workstation using WSL. Compare and contrast the differences between WSL 1 and WSL 2 Explore, in depth, some of the more popular workflows in WSL Consider and plan key factors for a large scale deployment of WSL This book is for developers who need to know learn WSL and how to build a development stack, integrating it with their preferred code editor or IDE if they so choose. Existing Windows and Linux system administrators will learn how to install, deploy, and manage WSL. Power users who are comfortable in a command line, but may be new to Linux or WSL, may also find this book useful.

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

Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques
Author: Stuart Leeks
Publisher: Packt Publishing Ltd
Total Pages: 246
Release: 2020-10-23
Genre: Computers
ISBN: 1800563523

A practical handbook that will help you bridge the gap between Windows and Linux to develop apps that leverage the best features across both ecosystems with seamless interoperability Key FeaturesConfigure and control WSL to suit your needs and preferencesDiscover tips for working seamlessly between Windows and WSL Linux distrosLearn how to work effectively with containers in WSL, as well as how to containerize your development environments with Visual Studio Code to isolate your dependenciesBook 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 looking to add more tools to your Windows environment, WSL offers endless possibilities. You’ll start by understanding what WSL is and learn how to install and configure WSL along with different Linux distros. Next, you'll learn techniques that allow you to work across both Windows and Linux environments. You’ll discover how to install and customize the new Windows Terminal. We'll also show you how to work with code in WSL using Visual Studio Code (VS Code). In addition to this, you’ll explore how to work with containers with Docker and Kubernetes, and how to containerize a development environment using VS Code. While Microsoft has announced support for GPU and GUI applications in an upcoming release of WSL, at the time of writing these features are either not available or only in early preview releases. This book focuses on the stable, released features of WSL and giving you a solid understanding of the amazing techniques that you can use with WSL today. By the end of this book, you’ll be able to configure WSL and Windows Terminal to suit your preferences, and productively use Visual Studio Code for developing applications with WSL. What you will learnInstall and configure Windows Subsystem for Linux and Linux distrosAccess web applications running in Linux from WindowsInvoke Windows applications, file systems, and environment variables from bash in WSLCustomize the appearance and behavior of the Windows Terminal to suit your preferences and workflowsExplore various tips for enhancing the Visual Studio Code experience with WSLInstall and work with Docker and Kubernetes within Windows Subsystem for LinuxDiscover various productivity tips for working with Command-line tools in WSLWho 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 such as 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 bash, PowerShell, or the Windows Command Prompt will be required.

Learn Windows Subsystem for Linux

Learn Windows Subsystem for Linux
Author: Prateek Singh
Publisher: Apress
Total Pages:
Release: 2020-12-09
Genre: Computers
ISBN: 9781484260371

Become productive with seamless interoperability between Windows and the Linux subsystem, and understand the problems that Windows Subsystem for Linux (WSL) solves. Microsoft has pushed the boundaries of open source research with WSL and you don't want to miss this ride. You will learn keywords, definitions, new features, setup, and use cases around WSL, starting from downloading to setup to interoperability between Windows and Linux subsystems. You will understand the architecture of WSL and all the new features in WSL 2. This book includes wonderful use cases, including a dedicated chapter to how to start programming and web development on WSL, and the ability to use containerization solutions like Docker and Kubernetes. WSL is a great solution to work natively in a Linux environment from your Windows 10 machines. Modern applications demand integration of cross-platform tools, services and technologies. WSL makes life for developers and system administrators easy because it allows Linux applications to run on Windows without worrying about installing a Linux distribution on a traditional Virtual Machine. It is remarkable product with powerful functionality – get started with it using this book today. What You'll Learn Review the workings and internals of WSL and WSL2 Run Linux-based applications natively on Windows Establish your development environment in WSL Build mixed experiences (Windows-Linux) Set up and manage WSL and supported distribution packages. Who This Book Is For Programmers, web developers and system administrators working on Windows and Linux environments who want to bridge the gap between operating systems by running a Linux as a subsystem on Windows to boost their overall productivity, performance and delivery.

Windows Terminal Tips, Tricks, and Productivity Hacks

Windows Terminal Tips, Tricks, and Productivity Hacks
Author: Will Fuqua
Publisher: Packt Publishing Ltd
Total Pages: 254
Release: 2021-04-30
Genre: Computers
ISBN: 1800209649

Become an efficient command-line expert by harnessing the power of the new Microsoft Windows Terminal, and learn time-saving tricks for PowerShell, WSL2, and more Key FeaturesCustomize and optimize your Windows Terminal and its shellsWork effectively on the command line with split panes, hotkeys, and automationUse PowerShell and WSL2 efficiently to build, test, and deploy applicationsBook Description Windows Terminal is a new and open-source command-line application for Windows 10, built for the Command Prompt, PowerShell, Windows Subsystem for Linux, and more. It's fast, modern, and configurable thanks to its GPU-accelerated rendering, excellent UTF-8 support, and JSON-based configurability, and this book can help you learn how to leverage these features. You’ll start by learning the benefits of Windows Terminal and its open-source development, as well as how to use the built-in tabs, panes, and key bindings to build your own efficient terminal workflows. After you’ve mastered Windows Terminal, this book shows how to use and configure PowerShell Core and the Windows Subsystem for Linux within Windows Terminal. You’ll maximize your productivity using powerful tools such as PSReadLine for PowerShell and ZSH on Linux, and discover useful tips and tricks for common developer tools like Git and SSH. Finally, you’ll see how Windows Terminal can be used in common development and DevOps tasks, such as developing frontend JavaScript applications and backend REST APIs, and managing cloud-based systems like Amazon Web Services (AWS), Microsoft Azure, and Google Cloud. By the end of this book, you'll not only be well-versed with Windows Terminal, but also have learned how to effectively use shells like PowerShell Core and ZSH to become proficient at the command line. What you will learnInstall, update, and use Windows Terminal and its preview versionCustomize your Windows Terminal to be both visually appealing and functionalEnable and effectively use the latest versions of PowerShell Core and Windows Subsystem for LinuxInstall and configure time-saving tools for the command lineWork efficiently with common developer tools such as Git and SSHBuild, deploy, and manage apps in the cloud using Windows TerminalUse Linux tools from Windows with easeWho this book is for This book is for developers, DevOps engineers, and sysadmins who want to become advanced command-line power users. Whether you're new to the command line or you already use Windows PowerShell every day, this book will have something for you.

Asp.Net Core and Azure with Raspberry Pi 4

Asp.Net Core and Azure with Raspberry Pi 4
Author: Sibeesh Venu
Publisher: Apress
Total Pages: 235
Release: 2020-11-19
Genre: Computers
ISBN: 9781484264423

Get to know your Raspberry Pi. Then take it further with Microsoft Azure resources and this book. We live in a world everything is connected. The future is leaning towards IoT. Running the Raspberry PI with .Net core applications opens a world of possibilities. What if we add the power of Microsoft Azure to it? In this book, you'll learn how to set up your Raspberry PI with .Net core and analyze the options Microsoft offers in Azure. Once the initial set up is complete, you'll move on to a real-world scenario—running your own application inside a Raspberry PI. The book then explains how to develop an application that sends automated data to the Microsoft Azure IoT hub and how to retrieve and send the data to your Azure SignalR service with the help of Azure Function. What You'll Learn Set up Raspbian OS on the Raspberry Pi for use with Microsoft Azure Develop a .Net core background application Connect Azure resources to your application Who This Book Is For Programmers with a background in coding—especially knowledge in JavaScript, Angular, and C#. Working familiarity with Azure flow is helpful.

Docker on Windows

Docker on Windows
Author: Elton Stoneman
Publisher: Packt Publishing Ltd
Total Pages: 352
Release: 2017-07-13
Genre: Computers
ISBN: 1785288423

Learn how to run new and old Windows applications in Docker containers. About This Book Package traditional .NET Frameworks apps and new .NET Core apps as Docker images, and run them in containers for increased efficiency, portability, and security Design and implement distributed applications that run across connected containers, using enterprise-grade open source software from public Docker images Build a full Continuous Deployment pipeline for a .NET Framework application, and deploy it to a highly-available Docker swarm running in the cloud Who This Book Is For If you want to modernize an old monolithic application without rewriting it, smooth the deployment to production, or move to DevOps or the cloud, then Docker is the enabler for you. This book gives you a solid grounding in Docker so you can confidently approach all of these scenarios. What You Will Learn Comprehend key Docker concepts: images, containers, registries, and swarms Run Docker on Windows 10, Windows Server 2016, and in the cloud Deploy and monitor distributed solutions across multiple Docker containers Run containers with high availability and fail-over with Docker Swarm Master security in-depth with the Docker platform, making your apps more secure Build a Continuous Deployment pipeline by running Jenkins in Docker Debug applications running in Docker containers using Visual Studio Plan the adoption of Docker in your own organization In Detail Docker is a platform for running server applications in lightweight units called containers. You can run Docker on Windows Server 2016 and Windows 10, and run your existing apps in containers to get significant improvements in efficiency, security, and portability. This book teaches you all you need to know about Docker on Windows, from 101 to deploying highly-available workloads in production. This book takes you on a Docker journey, starting with the key concepts and simple examples of how to run .NET Framework and .NET Core apps in Windows Docker containers. Then it moves on to more complex examples—using Docker to modernize the architecture and development of traditional ASP.NET and SQL Server apps. The examples show you how to break up monoliths into distributed apps and deploy them to a clustered environment in the cloud, using the exact same artifacts you use to run them locally. To help you move confidently to production, it then explains Docker security, and the management and support options. The book finishes with guidance on getting started with Docker in your own projects, together with some real-world case studies for Docker implementations, from small-scale on-premises apps to very large-scale apps running on Azure. Style and approach Using a step-by-step approach, this book shows you how to use Docker on Windows. It includes practical examples and real-world technical and business scenarios that will help you effectively implement Docker in your environment.There are over 50 examples of Dockerized applications, using C# .NET projects as the source and packaging them into Docker images.

The Art of Memory Forensics

The Art of Memory Forensics
Author: Michael Hale Ligh
Publisher: John Wiley & Sons
Total Pages: 912
Release: 2014-07-22
Genre: Computers
ISBN: 1118824997

Memory forensics provides cutting edge technology to help investigate digital attacks Memory forensics is the art of analyzing computer memory (RAM) to solve digital crimes. As a follow-up to the best seller Malware Analyst's Cookbook, experts in the fields of malware, security, and digital forensics bring you a step-by-step guide to memory forensics—now the most sought after skill in the digital forensics and incident response fields. Beginning with introductory concepts and moving toward the advanced, The Art of Memory Forensics: Detecting Malware and Threats in Windows, Linux, and Mac Memory is based on a five day training course that the authors have presented to hundreds of students. It is the only book on the market that focuses exclusively on memory forensics and how to deploy such techniques properly. Discover memory forensics techniques: How volatile memory analysis improves digital investigations Proper investigative steps for detecting stealth malware and advanced threats How to use free, open source tools for conducting thorough memory forensics Ways to acquire memory from suspect systems in a forensically sound manner The next era of malware and security breaches are more sophisticated and targeted, and the volatile memory of a computer is often overlooked or destroyed as part of the incident response process. The Art of Memory Forensics explains the latest technological innovations in digital forensics to help bridge this gap. It covers the most popular and recently released versions of Windows, Linux, and Mac, including both the 32 and 64-bit editions.

Multicopter Design and Control Practice

Multicopter Design and Control Practice
Author: Quan Quan
Publisher: Springer Nature
Total Pages: 415
Release: 2020-04-17
Genre: Technology & Engineering
ISBN: 9811531382

As the sister book to “Introduction to Multicopter Design and Control,” published by Springer in 2017, this book focuses on using a practical process to help readers to deepen their understanding of multicopter design and control. Novel tools with tutorials on multicopters are presented, which can help readers move from theory to practice. Experiments presented in this book employ: (1) The most widely-used flight platform – multicopters – as a flight platform; (2) The most widely-used flight pilot hardware – Pixhawk – as a control platform; and (3) One of the most widely-used programming languages in the field of control engi-neering – MATLAB + Simulink – as a programming language. Based on the current advanced development concept Model-Based Design (MBD)process, the three aspects mentioned above are closely linked. Each experiment is implemented in MATLAB and Simulink, and the numerical simula-tion test is carried out on a built simulation platform. Readers can upload the controller to the Pixhawk autopilot using automatic code generation technology and form a closed loop with a given real-time simulator for Hardware-In-the-Loop (HIL) testing. After that, the actual flight with the Pixhawk autopilot can be performed. This is by far the most complete and clear guide to modern drone fundamentals I’ve seen.It covers every element of these advanced aerial robots and walks through examples and tutorials based on the industry’s leading open-source software and tools. Read this book, and you’ll be well prepared to work at the leading edge of this exciting new industry. Chris Anderson, CEO 3DR and Chairman, the Linux Foundation’s Dronecode Project The development of a multicopter and its applications is very challenging in the robotics area due to the multidomain knowledge involved. This book systematically addresses the design, simulation and implementation of multicopters with the industrial leading workflow – Model-Based Design, commonly used in the automotive and aero-defense industries. With this book, researchers and engineers can seamlessly apply the concepts, workflows, and tools in other engineering areas, especially robot design and robotics ap-plication development. Dr. Yanliang Zhang, Founder of Weston Robot, EX-product Manager of Robotics System Toolbox at the MathWorks

Cybersecurity Ops with bash

Cybersecurity Ops with bash
Author: Paul Troncone
Publisher: O'Reilly Media
Total Pages: 306
Release: 2019-04-02
Genre: Computers
ISBN: 1492041289

If you hope to outmaneuver threat actors, speed and efficiency need to be key components of your cybersecurity operations. Mastery of the standard command-line interface (CLI) is an invaluable skill in times of crisis because no other software application can match the CLI’s availability, flexibility, and agility. This practical guide shows you how to use the CLI with the bash shell to perform tasks such as data collection and analysis, intrusion detection, reverse engineering, and administration. Authors Paul Troncone, founder of Digadel Corporation, and Carl Albing, coauthor of bash Cookbook (O’Reilly), provide insight into command-line tools and techniques to help defensive operators collect data, analyze logs, and monitor networks. Penetration testers will learn how to leverage the enormous amount of functionality built into nearly every version of Linux to enable offensive operations. In four parts, security practitioners, administrators, and students will examine: Foundations: Principles of defense and offense, command-line and bash basics, and regular expressions Defensive security operations: Data collection and analysis, real-time log monitoring, and malware analysis Penetration testing: Script obfuscation and tools for command-line fuzzing and remote access Security administration: Users, groups, and permissions; device and software inventory

SIMD Programming Manual for Linux and Windows

SIMD Programming Manual for Linux and Windows
Author: Paul Cockshott
Publisher: Springer Science & Business Media
Total Pages: 364
Release: 2013-03-09
Genre: Computers
ISBN: 1447138627

A number of widely used contemporary processors have instruction-set extensions for improved performance in multi-media applications. The aim is to allow operations to proceed on multiple pixels each clock cycle. Such instruction-sets have been incorporated both in specialist DSPchips such as the Texas C62xx (Texas Instruments, 1998) and in general purpose CPU chips like the Intel IA32 (Intel, 2000) or the AMD K6 (Advanced Micro Devices, 1999). These instruction-set extensions are typically based on the Single Instruc tion-stream Multiple Data-stream (SIMD) model in which a single instruction causes the same mathematical operation to be carried out on several operands, or pairs of operands, at the same time. The level or parallelism supported ranges from two floating point operations, at a time on the AMD K6 architecture to 16 byte operations at a time on the Intel P4 architecture. Whereas processor architectures are moving towards greater levels of parallelism, the most widely used programming languages such as C, Java and Delphi are structured around a model of computation in which operations takeplace on a single value at a time. This was appropriate when processors worked this way, but has become an impediment to programmers seeking to make use of the performance offered by multi-media instruction -sets. The introduction of SIMD instruction sets (Peleg et al.