系統(tǒng) (一) Windows10安裝Ubuntu子系統(tǒng)
標(biāo)簽:
操作系統(tǒng)
前言
本文将基于 Windows10专业版
安装 Ubuntu子系统
1、控制面板
-> 程序
-> 选择启用或关闭Windows功能
-> 勾上 适用Linux的Windwos子系统
-> 确定
-> 重启电脑
2、在 设置
-> 更新和安全
-> 开发者选项
中切换到开发人员模式
3、打开windows商店,搜索 ubuntu
,安装ubuntu
ubuntu下载地址: https://docs.microsoft.com/en-us/windows/wsl/install-manual#downloading-distros
下载完之后双击运行安装即可~
4、启动
等待安装
然后设置用户名密码
若需修改密码,执行 sudo passwd
5、设置国内阿里镜像数据源
# 1.切换为超级管理员root
sudo su
# 2.编辑数据源配置文件
vim /etc/apt/sources.list
# 3. i 插入以下内容
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
# 4. Esc -> :wq 保存退出
# 5.更新配置
apt-get update
6、如何进入ubuntu子系统 ?
输入ubuntu回车即可~
點擊查看更多內(nèi)容
為 TA 點贊
評論
評論
共同學(xué)習(xí),寫下你的評論
評論加載中...
作者其他優(yōu)質(zhì)文章
正在加載中
感謝您的支持,我會繼續(xù)努力的~
掃碼打賞,你說多少就多少
贊賞金額會直接到老師賬戶
支付方式
打開微信掃一掃,即可進(jìn)行掃碼打賞哦