Windows installation CENTOS7 Subsystem

Source: Internet
Author: User

Tags: switch github virtual technology share Select Doc Bubuko detailed steps tag

Linux Subsystem for Windows (WSL)

Since the WSL, basically the virtual machine has been saved, for the convenience of Windows, Linux for the development of friendly people, is really a big weapon. Unfortunately, the default system does not have CentOS, and fortunately, Daniel has developed a way to use Docker images to run other Linux distributions. Here are the detailed steps.

First turn on the Linux subsystem feature

This step of the online tutorial a lot, I will not say.

Install a default Linux system

Ubuntu can be selected at WIN10 's own software center

Wsl-distribution-switcher
    1. Install Python3 This software is written in Python3, so you have to install Python3.
    2. Download image download Good wsl-distribution-switcher, run the python get-source.py release Name: Version label, for example python get-source.py centos:latest , you can go to Dockerhub to see the specific tag.
    3. Install image python install.py release name: Version label, for example, python install.py centos:latest . Some images are in SQUASHFS format, this time to install the relevant Python plug-in, that ispip3 install PySquashfsImage
    4. Switch Linux versions of Python switch.py, and you'll see a list of the different Linux in the system


Use Python switch.py release Name: Version label to switch to the desired version, such as Python switch.py centos:latest

    1. Note at this time the CentOS is still a very basic, many software are not, such as no sudo, which encountered problems, can find the answer on the Internet

Windows installation CENTOS7 Subsystem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

Tags Index: