This repository has been archived by the owner on Dec 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# CentWSL | ||
CentOS on WSL (Windows 10 FCU or later) | ||
based on [wsldl](https://github.com/yuk7/wsldl) | ||
|
||
[![Build Status](https://img.shields.io/travis/yuk7/CentWSL.svg?style=flat-square)](https://travis-ci.org/yuk7/CentWSL) | ||
[![Github All Releases](https://img.shields.io/github/downloads/yuk7/CentWSL/total.svg?style=flat-square)](https://github.com/yuk7/CentWSL/releases/latest) | ||
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) | ||
![License](https://img.shields.io/github/license/yuk7/CentWSL.svg?style=flat-square) | ||
|
||
### [Download](https://github.com/yuk7/CentWSL/releases/latest) | ||
|
||
|
||
## Requirements | ||
* Windows 10 Fall Creators Update x64 or later. | ||
* Windows Subsystem for Linux feature is enabled. | ||
|
||
## Install | ||
#### 1. [Download](https://github.com/yuk7/CentWSL/releases/latest) installer zip | ||
|
||
#### 2. Extract all files in zip file to same directory | ||
|
||
#### 3.Run CentOS.exe to Extract rootfs and Register to WSL | ||
Exe filename is using to the instance name to register. | ||
If you rename it you can register with a diffrent name and have multiple installs. | ||
|
||
|
||
## How-to-Use(for Installed Instance) | ||
#### exe Usage | ||
```dos | ||
Usage : | ||
<no args> | ||
- Open a new shell with your default settings. | ||
run <command line> | ||
- Run the given command line in that distro. Inherit current directory. | ||
config [setting [value]] | ||
- `--default-user <user>`: Set the default user for this distro to <user> | ||
- `--default-uid <uid>`: Set the default user uid for this distro to <uid> | ||
- `--append-path <on|off>`: Switch of Append Windows PATH to $PATH | ||
- `--mount-drive <on|off>`: Switch of Mount drives | ||
get [setting] | ||
- `--default-uid`: Get the default user uid in this distro | ||
- `--append-path`: Get on/off status of Append Windows PATH to $PATH | ||
- `--mount-drive`: Get on/off status of Mount drives | ||
- `--lxuid`: Get LxUID key for this distro | ||
backup | ||
- Output backup.tar.gz to the current directory using tar command. | ||
clean | ||
- Uninstall the distro. | ||
help | ||
- Print this usage message. | ||
``` | ||
|
||
|
||
#### How to uninstall instance | ||
```dos | ||
>CentOS.exe clean | ||
``` |