點擊開始菜單按鈕,選擇「設置」windows
在設置中選擇「更新和安全」安全
在菜單中選擇「針對開發人員」,在三個選項中,選中「開發人員模式」ruby
在彈出的警告框中點擊「是」app
這樣開發人員模式就打開了 ide
打開「Windows應用商店應用」ui
下載SUSE Linux Enterprise Server 12this
啓動應用SUSE Linux Enterprise Server 12設置用戶及root密碼spa
第一次啓動會顯示 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
至此設置完成。3d