美文网首页
Windows 10平台下Ubuntu子系统的安装与配置

Windows 10平台下Ubuntu子系统的安装与配置

作者: Smile_Milk | 来源:发表于2019-01-28 14:12 被阅读0次
  1. 在“控制面板>程序>启用或关闭Windows功能”中勾选“适用于Linux的Windows子系统”,然后重启电脑。


  2. 在Windows Store中搜索Ubuntu,然后选择一个版本完成下载和安装。


  3. 第一次启动时需要等待一段时间让子系统完成安装工作,为系统设置一个默认用户和密码,然后就能在Windows上使用Linux了。


备注

  1. 让子系统使用阿里云国内源解决下载缓慢的问题
    先备份/etc/apt/sources.list文件,然后修改为下面的内容:
    deb http://mirrors.aliyun.com/ubuntu/ trusty main multiverse restricted universe
    deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main multiverse restricted universe
    deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main multiverse restricted universe
    deb http://mirrors.aliyun.com/ubuntu/ trusty-security main multiverse restricted universe
    deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main multiverse restricted universe
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty main multiverse restricted universe
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main multiverse restricted universe
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main multiverse restricted universe
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main multiverse restricted universe
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main multiverse restricted universe
  2. 子系统在Windows平台上的文件地址:
    C:\Users\Linzijie\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc\LocalState\rootfs

相关文章

网友评论

      本文标题:Windows 10平台下Ubuntu子系统的安装与配置

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