Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Linux system under Windows

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to install Linux system under Windows, which is very detailed and has certain reference value. Friends who are interested must finish it!

Following the 1607 version of Windows10, Microsoft began to push updates to WSL (Windows subSystem Linux) (Microsoft said: I want them all! That is, Linux is supported as a subsystem under Windows from now on

This news is a blessing for developers! Later, develop under windows and deploy tests under linux to keep the test environment consistent with the production environment. Coupled with docker, the inconsistencies caused by most operating system environments can be reduced to * *. At the same time, you can run applications that are not supported by windows under linux. For example, the default environment for the official version of redis is linux (although there is a Windows version on GitHub, but the version is lower).

Talk is cheap,show me the code!

Step 1: enable the Linux subsystem in the Windows feature, as shown in figure (1):

Figure 1

Step 2: search the App Store for downloading and installing the linux system. Here I choose the debian system, as shown in figure (2) (3) (4):

Figure 2

Figure 3

Figure 4

Step 3: after the installation is complete, press: Win+r at the same time, call up the running interface, enter: bash, press enter, as shown in figure (5):

Figure 5

You need to enter the system password for the Step 4 installation. After setting the password, verify that the linux system can read the contents on the hard drive.

First of all, we use Windows to create a file in E disk (I use E disk here, which can be any disk). Enter the content casually. * do not enter Chinese characters. If the system has just been installed, Chinese characters are not supported. What I typed here is: "you can see this when you success!"

Then under Linux, we use the cat command to view the file we just created, as shown in figure 6

The above is all the contents of the article "how to install Linux system under Windows". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report