一:打開“開發人員模式”
點選開始菜單按鈕,選擇“設定”

在設定中選擇“更新和安全”
在菜單中選擇“針對開發人員”,在三個選項中,選中“開發人員模式”
在彈出的警告框中點選“是”
這樣開發人員模式就打開了
二:安裝并設定賬号
打開“Windows應用商店應用”
下載下傳SUSE Linux Enterprise Server 12
啟動應用SUSE Linux Enterprise Server 12設定使用者及root密碼
第一次啟動會顯示
Installing, this may take a few minutes...
等待幾分鐘後,提示建立使用者名,也可以直接跳過
Installation successful!
hhhhaskRegister your SLES to enjoy the full SLES experience.
Visit https://www.suse.com/subscriptions/sles/developer/ for free developer subscription.
Enter registration code (leave empty to skip registration):
然後提示建立使用者密碼
New password:
提示确認再次輸入密碼
Retype new password:
設定成功後提示更新成功,是否将此密碼設定為root賬戶密碼,“y”确認,其它否
passwd: password updated successfully
Use same password for root user?
Type "y" to approve, any other key to reject:
輸入“n”後提示輸入root賬戶密碼
Enter root password.
New password:
再次輸入密碼
Retype new password:
賬戶設定完成
passwd: password updated successfully
Default UNIX user set to: 你設定的使用者名
你的使用者名@DESKTOP-RSRAUIF:~>
注意:使用者名不能與windows系統使用者名相同
/usr/lib64/ruby/2.1.0/open3.rb:193: warning: Insecure world writable dir /mnt/c/ProgramData/Oracle/Java in PATH, mode 040777
command \'dmidecode -s system-uuid\' failed
Error: SCC returned \'Unknown Registration Code.\' (401)
錯誤: 0x80040305
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:
當密碼太短或者太簡單,會提示,但是不影響
BAD PASSWORD: it is too short
BAD PASSWORD: is too simple
至此設定完成。