I'm installing Ubuntu Subsystem (wls) When I found that the posts on the Internet were uneven , Can't give novice a simple and direct tutorial , So I summed up a simple installation tutorial for novice reference ( Bosses do not spray ).
Now I'm going straight to the point :
1. Get into MicrosoftStore Search for Ubuntu, choice Ubuntu 18.04LTS( Of course, other things can be ), Click on the install .
2. After installation , Click on the lower left corner of the computer ( Or press Win build ) Find recently added , Click to enter Ubuntu.
3. After waiting for a while , Enter a user name and password to create a user .
4. Input sudo su Command to enter administrator mode ( You may not enter , If you do not enter this command, all the following commands need to be preceded by sudo ).
5. First installation vim, In order to give us Ubuntu Change the source .
command :apt-get install vim
6. Install well vim Post input vim /etc/apt/sources.list
Mean in /etc/apt/ Create a directory called sources.list File and enter , When the command is finished, click on the keyboard i Get into Insert Pattern ( Edit text ), Prefix all lines with #( Comment out ), Or delete them all
Go to the website https://mirrors.tuna.tsinghua...
Choose the source that your system matches ( Here is 18.04), Copy it and paste it into the previous entry sources.list In file , Press down ESC( sign out Insert Pattern ), Input :wq( Exit and save ), Back to the command line .
The source of Tsinghua University is used here ( I think it's easy to use ), If you need to go online search other sources .
7. Input apt-get update updated .
8. Then you can install the software you need .
The command format is :apt-get install Package name .
Install one here gcc compiler :
apt-get install gcc
That's the installation Ubuntu The whole process of , Is it simple , Next, we will install the visual interface ( not essential , Choose... As you like ):
1. Enter the command sudo su Enter administrator mode .
Then enter the following command :
2.apt-get update
3.apt-get install xorg
4.apt-get install xfce4
5.apt-get install xrdp
6.apt-get install vnc4server
7.sed -i 's/port=3389/port=3390/g' /etc/xrdp/xrdp.ini
8.echo xfce4-session >~/.xsession
9.service xrdp restart
I don't want to explain too much here , When the input is complete, return to Windows Press down Win+R, Input mstsc Press down enter key , Input 127.0.0.1:3390 Then click the link to enter the visual interface .
Be careful : After installing the visual interface, you need to enter the Ubuntu Command line input for sudo service xrdp restart, The aim is to turn on Ubuntu Of xrdp( Remote desktop link ), And then from Windows The system is connected .
当前位置:网站首页>Windows subsystem Ubuntu installation
Windows subsystem Ubuntu installation
2020-11-07 23:56:00 【Fit】
版权声明
本文为[Fit]所创,转载请带上原文链接,感谢
边栏推荐
- Web安全(一)---浏览器同源策略
- Adobe media encoder / me 2021 software installation package (with installation tutorial)
- Qt混合Python开发技术:Python介绍、混合过程和Demo
- 面部识别:攻击类型和反欺骗技术
- 团灭 LeetCode 股票买卖问题
- C++基础知识篇:C++ 基本语法
- Adobe Prelude /Pl 2020软件安装包(附安装教程)
- Judging whether paths intersect or not by leetcode
- 微信小程序request报400错误 @RequestBody接收不到
- 2020天翼智能生态博览会中国电信宣布5G SA正式规模商用
猜你喜欢

On the stock trading of leetcode

Jingtao project day09

1.深入Istio:Sidecar自动注入如何实现的?
![A compilation bug brought by vs2015 Update1 update [existing solutions]](/img/3b/00bc81122d330c9d59909994e61027.jpg)
A compilation bug brought by vs2015 Update1 update [existing solutions]

More than 50 object detection datasets from different industries

QT hybrid Python development technology: Python introduction, hybrid process and demo

你的主机中的软件中止了一个已建立的连接。解决方法

C语言I博客作业03

Ubuntu下搜狗输入法的下载安装及配置

WPF 关于绘图个人总结
随机推荐
Web安全(一)---浏览器同源策略
爆一个VS2015 Update1更新带来的编译BUG【已有解决方案】
0.计算机简史
CPP (4) boost installation and basic use for Mac
c# 表达式树(一)
Cpp(四) Boost安装及基本使用 for Mac
2020天翼智能生态博览会中国电信宣布5G SA正式规模商用
leetcode之判断路径是否相交
Improvement of maintenance mode of laravel8 update
WPF 关于绘图个人总结
14000 word distributed transaction principle analysis, master all of them, are you afraid of being asked in the interview?
Sentry installation
Experience the latest version of erofs on Ubuntu
November 07, 2020: given an array of positive integers, the sum of two numbers equals N and must exist. How to find the two numbers with the smallest multiplication?
看一遍就理解,图解单链表反转
什么都2020了,LINQ查询你还在用表达式树
Web Security (3) -- CSRF attack
Adobe media encoder /Me 2021软件安装包(附安装教程)
awk实现类sql的join操作
Got timeout reading communication packets解决方法