For software developers, Linux is basically a threshold around the past. Because the work often use linux, linux computer using pure or windows + virtual machine installed linux, I have been tangled. |
If you install a pure linux, windows are some of the software can not use, such as photoshop, if the windows and then put on a virtual machine, install linux on a virtual machine, it feels cumbersome and take up computer resources. Now windows10 can install linux subsystem friends, do not tangle the issue.
Here are the steps I installed linux subsystem on windows10, for reference.
Check windows10 version. By searching for "About", check the version of Windows 10 at the start of the menu bar. In order to use linux subsystem, your version or the latest version should be 1709. If the version is low, you need to upgrade a little longer.
When checked OK, the system will ask you to reboot. Yes, reboot it.
After installation, I fixed it to the "Start" menu
For a while, it begins to requirements set linux system user name and password, follow the prompts settings.
After setting a user name and password, linux subsystem installation is complete. At this point, your Linux subsystem installation path could be in this directory: C: \ Users \\ username \ AppData \ Local \ Packages \ CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc \ LocalState \ rootfs
This concludes the installation, the following are some of the settings.
In Ubuntu we can apt-get command easily install / uninstall software, due to the default package repository is located abroad, to install the software when it is likely to encounter a variety of network problems or to download some of the resources are not complete, Therefore, it is necessary to switch the data source for domestic mirror sites (for example: Ali cloud) to improve.
Data source profile editing sudo vi /etc/apt/sources.list
the original content commented, then inserted in the final surface:
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
Then press the "ESC" withdraw command line mode, enter the command line wq
! Save out just fine.
Then enter the command sudo apt-get update
to update the system on it.