Windows——安装Ubuntu 18.04 LTS

前言

Windows 10下支持安装Ubuntu 18.04 LTS当然要试下了

步骤

安装应用程序

  1. 打开应用商店

  2. 搜索并下载Ubuntu 18.0.4 LTS

启动服务

遇到了第一个报错:

Installing, this may take a few minutes...
WslRegisterdistribution Failed with error: 0x8007019e
The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.
See https://aka.ms/wslinstall for details.
Press any key to continue...

解决:

  1. 控制面板->程序和功能->启用或关闭windows功能->适用于Linux的Windows子系统

  2. 设置->更新和安全->开发者选项->启用开发人员模式


  3. 重启电脑

正常使用

  1. 输入当前用户的密码
输入当前用户的密码
$sudo -i

重新设置root的密码
#passwd
  1. 愉快使用

相关文章

Windows2012R2备用域控搭建 前置操作 域控主域控的主dns:自...
主域控角色迁移和夺取(转载) 转载自:http://yupeizhi.blo...
Windows2012R2 NTP时间同步 Windows2012R2里没有了internet时...
Windows注册表操作基础代码 Windows下对注册表进行操作使用的...
黑客常用WinAPI函数整理之前的博客写了很多关于Windows编程的...
一个简单的Windows Socket可复用框架说起网络编程,无非是建...