tags: Linux wsl centos windows
In general, installing the Linux subsystem can only be installed from the Microsoft Store. There are only a few official mirrors, Ubuntu, Kali Linux, Debian, Alpinlinux, OpenSuse, and SUSE ENTERPRISE Server.
If you want to install other systems, you must install it manually, such as CentOS.
Necessary prerequisites: open the Windows subsystem (ie WSL) on Linux on Win11
Reference address: https://www.how2shout.com/how-/install- on-windows-10-sabsystem-dux.html
The following is an open source project on GitHub, which provides downloads for the Windows subsystem suitable for Linux.
https://github.com/mishamosher/CentOS-WSL


After decompressing the mirror package, get the following two files
Between:rootfs.tar.gz , CentOS.exe

Install
Right buttonCentOS.exeFile, run as an administrator

The installation is complete
After the installation is complete, you will receive a message on the CentOS command screen. Press the Enter key to exit the settings.
Run CentOS 7
One is: found in the installation directoryCentOS7.exe Double -click to run, enter the Linux system
Another type: Enter in CMDwsl, Enter the Linux system
Update yum
yum -y update
./CentOS.exe cleanReference address: https://winaero.com/export-import-wsl-linux-distro-windows-10
You can import the linux distribution system TAR file, which allows you to import any distribution you like and have any configuration you want. You can specify any name and custom folder position to store the custom release version.
CentOS.tar.gz Mirror filewsl --list --all, Easy to set the system namewsl.exe --import <DistributionName> <InstallLocation> <FileName>。centos7d:\install\CentOSd:\download\CentOS.tar.gzwsl --list --allwsl --distribution <DistributionName>yum -y updateUninstall:
wsl.exe --unregister <DistributionName>
1. Open WSL, there is nothing to say Open the powershell with administrator rights and execute Or select WSL in the program and function. 2. Download the docker image of Centos 7 You can refer tohttps...
Installation environment, Windows 11 Professional Edition Enable WSL Turn on [Enable or Turn off Windwos Function] in Windows settings, check [Windwos Subsystem for Linux], click OK, the system will p...
Install WSL 2. View list of linux distribution lists 3. Installation WSL2 appears "Reference object type does not support the operation of trying" REG script solution 4. WSL modify the linux...
Old rules, first go to the official document link:https://docs.microsoft.com/zh-cn/windows/wsl/install-win10 The first is to enable related functions in the control panel First enable the developer op...
Win11 version number: Version Windows 11 Home Chinese Version Version 22H2 Installation date 2022/7/29 Operating system version&nbs...
The deps of obs requires wsl ubuntu22.04 Search for: Windows features Windows features windows store Windows Subsystem for Linux Preview Open Windows Subsystem for Linux Preview ubuntu Proxy cannot be...
Ali configure yum source and source EPEL EPEL (Extra Packages for Enterprise Linux) Extended support package for the operating system, "Red Riding Hood line" for RHEL, CentOS and Scientific ...
The sky is blue, the wild is boundless, the wind blows the grass and the cows and sheep are low. Smile, less than ten years, don't smash the computer when you see through the world. Is life just learn...
Install anaconda, download anaconda on the official website, and now the Tsinghua mirror has been deactivated anaconda official website:https://www.anaconda.com/distribution/#download-section Start th...
There are a lot of introductions about Ceph on the Internet, so I won't repeat them here. Sage Weil developed this awesome distributed storage system when he was a PhD student. At first, he rushed to ...