Today I will introduce how to enable the Linux subsystem under Windows 10. Without further ado, let’s take a look at the steps: ####Enable developer mode Open Settings Click Update & Security Click on Developer options Enable Developer Mode ####Change system functions Use the win+X shortcut key to bring up the system management menu, click Apps and Features , then scroll down and select Programs and Features Select Apply or turn off Windows features Check the Windows Subsystem for Linux , confirm and restart. ####Install Linux system After turning on the function, Linux is not actually installed in the system, and cmd needs to be used to complete the installation. OK, now the installation is successful, you can do whatever you want! First enter the bash command to enter the Ubuntu system Then you can enter passwd to reset the password. After resetting the password, you can use the Ubuntu system normally. At this point, the basic installation work is completed. = Novice dividing line === ####Advanced Linux In Ubuntu, we can easily install/uninstall software through the apt-get command. Since the default software package repository is located abroad, you may encounter various network problems or incomplete downloaded resources when installing the software. Therefore, you need to switch the data source to a domestic mirror site to improve it. Edit the data source configuration file vi /etc/apt/sources.list Then enter the vi editor Continue to press the enter key to enter the real vi editing page The vi editor has three modes: command mode , insert mode and last line mode . In command mode, we can only control the movement of the screen cursor, delete characters, words or lines, move and copy a certain section, enter Insert mode, or go to last line mode, etc.; in Insert mode, you can input text, and press the "ESC" key to return to command line mode; in last line mode, you can save the file or exit vi, and you can also set the editing environment, such as searching for strings, listing line numbers, etc. When we enter the vi editor, the default is command line mode. If you want to edit the content later, just enter the i command. Now we want to change the image source to Alibaba, so insert the following content: deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse Then press "ESC" to exit the command line mode, enter the command line wq!, save and exit. Then enter the command apt-get update to update the configuration. This process may be long, so good luck! Well, this concludes this tutorial, thank you! The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Specific implementation methods of MySQL table sharding and partitioning
>>: Example of writing mobile H5 to invoke APP (IOS, Android)
Install vsftpd $ sudo apt-get install vsftpd -y S...
Environmental preparation: Deploy lnmp on a host ...
This article describes the import and export oper...
Install MySQL for the first time on your machine....
Table of contents What is LocalStorage What is Se...
mysql 5.6.35 winx64 free installation version con...
I installed MySQL smoothly in Ubuntu 16.04 before...
This article example shares the specific code of ...
Recently, we received a request for help from a c...
I have summarized 3 methods to deploy multiple fr...
When using vue to develop projects, the front end...
Table of contents Preface 1. MySQL enables SSL co...
Preface: I have newly installed an Alibaba cloud ...
Nginx (engine x) is a high-performance HTTP and r...
MySQL Bin log data recovery: accidentally delete ...