2019-10-20号更新:

命令行安装方式:https://blog.csdn.net/zhezhebie/article/details/102647087

检查windows版本:

不是所有windows版本都支持这个功能;
检查windows具体版本页面
https://support.microsoft.com/en-gb/help/4028685/windows-10-get-the-update

需要windows版本在1700版本以后,现在最新版本时1903.
在这里插入图片描述

开启linux功能:

控制面板->程序->程序和功能,勾选下图所示功能:
在这里插入图片描述

打开应用商店,搜索ubuntu,选择获取

在这里插入图片描述

等安装完了按下win键,就会显示了,点击18.04进去

在这里插入图片描述

进去之后会有一些初始化的下载,要一会儿.
在这里插入图片描述

参考链接:
https://www.jianshu.com/p/6d6e629df051

https://zhuanlan.zhihu.com/p/34950508

安装docker服务起不来:
https://blog.jayway.com/2017/04/19/running-docker-on-bash-on-windows/
还未测试.

如何重启 Windows 10 子系统(WSL) ubuntu

WSL 子系统是基于 LxssManager 服务运行的。
只需要将 LxssManager 重启即可。
打开windows cmd窗口,以管理员权限运行以下命令即可:

net stop LxssManager
net start LxssManager

任何服务都起不来!
在这里插入图片描述

https://www.youtube.com/watch?v=Cvrqmq9A3tA

https://www.youtube.com/watch?v=av0UQy6g2FA

更全面的安装方式:

https://docs.microsoft.com/zh-cn/windows/wsl/install-win10

Logo

更多推荐