Home>Article>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 toVirtualBox
andVMware Workstation
, well, yeswin10
's own subsystem.Introduction
subsystem forWindows
(English: Windows Subsystem for Linux, referred to as WSL) is a system forA compatibility layer that can natively run
Linuxbinary executable files (
ELFformat) on Windows10
andWindows 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
features, and check the # that applies toLinux
##Windowssubsystem, 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 ofwindow
windowsIntegrated 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
windowscommand in
Linux, which will be even more powerful.
windowsSet
Linuxas 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
Linuxis 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
UIis 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!