WSL first experience

Windows10 new addition WSL subsystem experience a bit I feel pretty good ...
 
After opening the corresponding function, in stores choose to install Ubuntu on it.

Migrating File System

WSL file system is located in the C drive, install the software as more and more for a long time, will take up a lot of the C disk space. This is for students to use SSD or C disk space itself is small students is very inconvenient, so there are a lot of people will migrate to the needs of other paths of system WSL rootfs. The issue of official working on a stable viable option, see concrete progress  https://github.com/Microsoft/WSL/issues/449 . At present a better solution is to use DDoSolitary developed  LxRunOffline . Their solutions are as follows :

  1. LxRunOffline software download link is: https://github.com/DDoSolitary/LxRunOffline/releases
  2. Unzip and open command prompt in the directory, enter the following code
    1
    2
    3
    4
    5
    # Display the name of the current Distribution
    > LxRunOffline list
    Legacy
    # Move the Distribution
    > LxRunOffline move -n Legacy -d D:\wsl\legacy

    The above command to move the entire WSL is rootfs  D:\wsl\legacy folder.

  3. check whether the normal use, to be used in accordance with an operation prompt.

to raise efficiency

wsl-terminal  is a terminal used to quickly open WSL is in the current directory, using the steps detailed official description.

Guess you like

Origin www.cnblogs.com/JiangOil/p/10959638.html