It feels like it's time to learn about. NET Core, although it's based on. Net4.x's rewriting work is still a big cut. In order to make. NET cross-platform Ms This is also a spell (early why? The so-called cross-platform, sounds very 6b, mainly on two platforms, Windows is the birthplace of. NET, Linux is the next to adapt to the new environment.
Before attempting to use Hyper-V installed Ubuntu, compare cards (notebook Ausu I7-4710HQ 12GB RAM, allocate 4Processors 4GB RAM), window resolution is not adjustable, high dpi indent down very awkward ... It is estimated that MS is not intended to optimize the Hyper-V desktop experience, or to set up a network share to the added virtual network switch so that the virtual machine connected to the Internet can not directly use the outside of the blue light wall proxy, do not know what this is a principle (who can be popular). Suddenly think of last year Ms said will be in the WIN10 to join the Linux subsystem, then find it, indeed.
Limit
WINDOWS10 Professional version above this feature; To enable bash on Windows, you first need the computer CPU support virtualization technology, which can be judged in the Task Manager-Performance tab:
Enable
1. Enable developer mode: In the Start-Setup-Update-Developer:
2. In the Control Panel-programs and features-Add/Disable Windows features, turn on Windows Subsystem for Linux (currently a beta version);
Restart is required later.
Installation
This is the most pit step.
After rebooting, set the system locale to the United States, open cmd or PowerShell, enter the lxrun/install/y command to start the online installation, during which the user name password is required (installed cannot), the download is very very slow (100 gigabit Fiber, Regional settings for the United States have a significant increase in speed, but still very slow); If you just prompt the server connection failed, there are two options: 1 is open agent (after testing the company's network needs blue light), 2 is the reference here (https://www.varunagw.com/ how-install-windows-subsystem-linux-bashonwindows-offline-windows/) set up an offline installation (not tested).
Last night's Build 2017 introduced the Windows RS3 Update can download 3 different versions of Linux directly in the store, should be able to please this way.
Use
After the installation is complete (hopefully everyone will be able to install it), the Start menu will have a shortcut called "Bash on Ubuntu on Windows," Point to the Bash.exe in the System folder; Open this bash and discover that it is a command line that tries to knock some Linux commands in it:
The above uses cat/proc/version to view the newly installed Linux kernel version of 4.4.0, and then through lsb_release-a get the release version for the code xenial Ubuntu 16.04.2 LTS, It's a relatively popular version.
The default open terminal window for bash supports copy-and-paste, and it is recommended to open it by entering bash in PowerShell (note that the default path is different when both modes are turned on).
Try to install using app Screenfetch (to see the logo, ^_^, my ultimate goal is of course to install dotnet Core-related environments):
Install package download when the inevitable failure (almost no one-time installation, feeling the celestial network), need to try a few times; it is much easier to get root privileges through Su passwd.
Using the experience is more satisfying than using Hyper-V.
Continue to explore
- Ifconfig, Ping, curl and other commands found that the subsystem directly enjoy the external main system network configuration, other sharing features and temporarily not within my scope of study.
- subsystem system is installed by default under the Uses\ user name \APPDATA\LOCAL\LXSS, there is no command parameter can change the installation path, but I think it should be possible to move the user folder indirectly change its installation letter (when the system is full, try, please inform the results of the test).
- The subsystem defaults to the main system all drive letters (LXSS/MNT, can read and write), can create only the letter case of different files (folders), Windows Explorer can also view, but the default can only open the uppercase one, delete the time to pay attention to.
- The rest of the following continues to add ...
About GUI Desktop (not recommended)
This subsystem does not include the desktop environment by default, because there is no need to also account for resources, and the second is the limitation of this subsystem. To experience Linux desktop recommendations or VM walks, if you want to use it here, you need to install xming in external windows, and then run the app with GUI in bash (like Firefox) with display=:0 (such as display=:0 FireFox ) will be able to display the GUI in the xming, and so on, the desktop is a GUI application, just install a set of desktops (such as Xfce4) and then execute the same command. I think it's going to be a good card.
Next
You can then formally experience the beginning of. NET core ...
Https://www.microsoft.com/net/core#linuxubuntu
Original path: http://www.cnblogs.com/CameronWu/p/6822008.html
Experience the. NET core cross-platform system environment: Install the WINDOWS10 built-in Linux subsystem