Windows-- install Ubuntu 18.04 LTS

Foreword

Of course, you want to try installing Ubuntu 18.04 LTS is supported under 10 Windows

step

Install the application

  1. Open the App Store

  2. Search and download the Ubuntu 18.0.4 LTS

Start Service

First encountered error:

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...

solve:

  1. Control Panel -> Programs and Features -> Enable or disable windows function -> Windows subsystem for Linux

  2. Settings -> Update and Security -> Developer Options -> Enable developer mode

  3. Restart the computer

Normal use

  1. Enter the current user's password
输入当前用户的密码
$sudo -i

重新设置root的密码
#passwd
  1. Pleasant to use

Guess you like

Origin www.cnblogs.com/wangyang0210/p/12598394.html