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

步骤

安装应用程序

  1. 打开应用商店
    Windows——安装Ubuntu 18.04 LTS

  2. 搜索并下载Ubuntu 18.0.4 LTS
    Windows——安装Ubuntu 18.04 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子系统
    Windows——安装Ubuntu 18.04 LTS

  2. 设置->更新和安全->开发者选项->启用开发人员模式
    Windows——安装Ubuntu 18.04 LTS
    Windows——安装Ubuntu 18.04 LTS

  3. 重启电脑

正常使用

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

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

相关文章:

  • 2021-09-17
  • 2021-09-25
  • 2021-07-07
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
  • 2021-11-01
  • 2021-05-26
猜你喜欢
  • 2021-12-03
  • 2022-01-02
  • 2022-12-23
  • 2021-12-20
  • 2021-11-19
  • 2021-08-22
  • 2021-11-08
相关资源
相似解决方案