Code Monkey home page Code Monkey logo

subsystem-for-windoge's Introduction

Linux Subsystem for Windoge OS

简体中文 | English

Introductions

This is a subsystem for Windoge OS. Windoge OS is just a joke, but this windoge system is different from other windoge systems. We will build a Wiki for you to use as soon as possible.

How to Use

for Linux

$ cd windoge10-release-0.1.0/
$ sudo mount -o loop ./windoge10-release-0.1.0.iso /mnt/windoge
$ cd /mnt/windoge
$ ls
$ ./wdg

for Windows

First, Install WSL

> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

then, download WSL System image(*.appx) or download in Microsoft Store.

install in MS Store

download from wiki.ubuntu.com

download from docs.microsoft.com

If you download the mirror from wiki.ubuntu.com or docs.microsoft.com (assuming Ubuntu.appx), you need:

> New-Item D:\Ubuntu -ItemType Directory
> Set-Location D:\Ubuntu
> Rename-Item .\Ubuntu.appx Ubuntu.zip
> Expand-Archive .\Ubuntu.zip -Verbose
> cd Ubuntu
> .\ubuntu1804.exe

It should now show:

Installing, this may take a few minutes...
Please create a default UNIX user account. The username does not need to match your Windows username.
For more information visit: https://aka.ms/wslusers
Enter new UNIX username: <Enter your Linux username here>
Enter new UNIX password: <Password, note that the password is not echoed, you will not see it if you enter it>
Retype new UNIX password: <Repeat the password>
passwd: password updated successfully
Installation successful!

Second, Install ISO Image

  • Enter WSL:

ubuntu1804.exe

  • Double-click windoge10-release-0.1.0.iso Observe which drive letter the image is mounted to (assuming F:)

  • mount iso!

$ sudo mount -t drvfs F: /mnt/windoge
$ cd /mnt/windoge
$ ./wdg

You can eject the iso arbitrarily, but you need to re-enter the mount command to load the next time you enter. For convenience, you can use alias. Let's take zsh as an example (bash uses .bash_rc)

$ vim ~/.zshrc

Add a row: alias imt="sudo mount -t drvfs F: /mnt/windoge" Next time you use it, you can use imt directly.

for macOS

Not currently supported

subsystem-for-windoge's People

Contributors

amiriox avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.