Home >Operation and Maintenance >Windows Operation and Maintenance >One article explains the installation and configuration of Win10 subsystem (share)
In the previous article "A brief analysis of nginx caching and cleaning (code sharing)", we learned about nginx caching and cleaning. The following article will help you understand the installation and configuration of the Win10 subsystem. Let’s take a look.
is not very useful, mainly due to In terms of development work and project release, my pile of commands don't work at all. I'm going to build a virtual machine, of course not referring to VirtualBox
and VMware Workstation
, well, yes win10
's own subsystem. Introduction
subsystem for Windows
(English: Windows Subsystem for Linux, referred to as WSL) is a system for A compatibility layer that can natively run
Linux binary executable files (
ELF format) on Windows10
and Windows Server 2019
. Preparation
1. Before installation, you need to modify some system settings. First, select Settings->Update & Security->Developer Options in the Start menu, and select the third item, Developer Mode.
2. Open Programs and Features in the Control Panel to enable or disable
Windows features, and check the # that applies to Linux
##Windows subsystem, click OK, wait for the system to be configured and then restart the computer.
Installation
lxrun /install /y #此命令已经废弃
linux
, you will see a series of subsystems, you can chooseUbuntuinstall
in the start menu Find the
Ubuntu
Of course, I feel that the most important point is not to use the subsystem in
windows
Use
wsl, or create a new
tabSelect
Ubuntuthat is Can.
wsl
You will find that the drive letter of window
is automatically mounted, and the operation is as fierce as a tiger, Nima, it is actually the same aswindowsIntegrated into one. There is no distinction between you and me, there is no distinction between you and me. In this way, you can execute the
windows command in
Linux, which will be even more powerful.
windows Set
Linux as a subsystem. This operation is simply outrageous.
Try
bash
expect, it works smoothly. It's so cool, isn't this what I want? I can't help laughing like a pig.
Feeling
Linux is really nonsense. . But it's different now. There are subsystems. Everything is different. It's like seeing an oasis in the desert.
To be honest,
window
UI is a bit ugly without moral integrity.
Recommended learning:
windows tutorial
The above is the detailed content of One article explains the installation and configuration of Win10 subsystem (share). For more information, please follow other related articles on the PHP Chinese website!