美文网首页
Win10 子系统安装Ubuntu

Win10 子系统安装Ubuntu

作者: 如此安好_0d68 | 来源:发表于2020-03-16 22:55 被阅读0次

1、在控制面板启用Linux子系统

图1

2、重启电脑,然后打开windows store 搜索Ubuntu

图2

3、等待下载完成后,启动Ubuntu,

图3

4、首先更改root密码

 #:sudo passwd root

[sudo] password for zyj:

Enter new UNIX password:

Retype new UNIX password:

5、更换软件源

先备份原软件源

sduo cp /etc/apt/sources.list /etc/apt/sources.list.backup

添加阿里源

sudo vi /etc/apt/sources.list

复制&粘贴

deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

6、更新&升级

sudo apt-get update

sudo apt-get upgrade

7、安装wget  git 

sudo apt-get install wget

sudo apt-get install git

相关文章

网友评论

      本文标题:Win10 子系统安装Ubuntu

      本文链接:https://www.haomeiwen.com/subject/lmxatqtx.html