前言
Windows 10下支持安装Ubuntu 18.04 LTS当然要试下了
步骤
安装应用程序
-
打开应用商店
-
搜索并下载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...
解决:
正常使用
- 输入当前用户的密码
输入当前用户的密码
$sudo -i
重新设置root的密码
#passwd
- 愉快使用