分享win10安装linux子系统下载方法
Tofloor
poster avatar
159******11
deepin
2017-12-02 04:30
Author
从网上转来,相当不错

下载linux系统    打开管理员模式命令提示符并输入 bash 回车,然后输入 Y 下载 Ubuntu。
    如果你是大陆用户,你可能会发现Win10安装bash相当慢,这里提供个人的解决方案:
    ①下载并打开fiddler,配置fiddler开启https代理;
    ②命令行输入bash并输入y后,在fiddler中找到这条请求(GET https://go.microsoft.com/fwlink/?LinkID=827586 HTTP/1.1),LinkID的值可能不一样;

    ③用迅雷或其他根据下载linux镜像,下载地址就是②中的请求地址;
    ④点击fiddler右边窗口的AutoResponder,勾选Enable rules、Unmatched requests passthrough、Enable Latency;选中刚才的链接,然后点击Add Rule,在最下一栏“Local file to return or *Action to execute”填写③中下载的linux镜像地址;
    ⑤重新在命令行输入bash并输入y后,你会发现瞬间下载完成了,后面按照提示输入用户名等即可。


Note:由于bash是从应用商店下载的数据,所以此方法同样适用于“Windows应用商店下载应用慢”。


4、修改Ubuntu的aptget源为阿里源:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak # 备份
sudo vim /etc/apt/sources.list # 修改

修改内容如下:
[plain] view plain copy


  • 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  

sudo apt-get update #更新列表


Reply Favorite View the author
All Replies
avatar
herdde
deepin
2017-12-02 06:14
#1
教程过时了吧
Reply View the author
avatar
herdde
deepin
2017-12-02 06:17
#2
1 在 启用或关闭Windows功能 里打开 适用于Linux的Windows子系统
2 在应用商店安装Ubuntu
3 在开始菜单打开Ubuntu
Reply View the author
Comments
plmnhy
2017-12-02 06:48
正解