安裝 Windows Subsystem Linux ( WSL )

設定多重開機的時候,不小心玩壞開機磁區!正是重練環境設定的好時機啊

  • 開啟 Powershell 點選左上 icon > 內容 > 開啟複製貼上功能

  • 重新啟動

  • MS 市集安裝 ==Ubuntu 18.04 LTS== ( 需要 MS 帳號 )

  • 開啟 Ubuntu 並設定子系統帳密

Please create a default UNIX user account. The username does not need to match your Windows username.     
For more information visit: https://aka.ms/wslusers
Enter new UNIX username: riemann
Enter new UNIX password: # 輸入 WSL 系統密碼
Retype new UNIX password:# 確認密碼
passwd: password updated successfully
Installation successful!
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
riemann@DESKTOP-MNF1KRG:~$

未完待續

0%