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. 愉快使用

猜你喜欢

转载自www.cnblogs.com/wangyang0210/p/12598394.html