一:打开“开发人员模式”
点击开始菜单按钮,选择“设置”
在设置中选择“更新和安全”
在菜单中选择“针对开发人员”,在三个选项中,选中“开发人员模式”
在弹出的警告框中点击“是”
这样开发人员模式就打开了
二:安装并设置账号
打开“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 successfullyUse 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 successfullyDefault 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
至此设置完成。