GithubHelp home page GithubHelp logo

mgmt's Introduction

Intro

This is the OSv management layer implementation, its mainly implemented in Java and JRuby.

Build

This project is built using Gradle, there is no need to install it just run the provided wrapper.

Available tasks:

 # Creating cli jar
 $ ./gradlew :cli:jar
 # Creating web jar
 $ ./gradlew :web:jar
 # Running the web application
 $ ./gradlew :web:runapp

Adding new modules

  • mkdir mgmt/${new-module}/src/main/java/com/ -p
  • vi mgmt/settings.gradle (and the module name to the list)
  • create a new mgmt/${new-module}/build.gradle file under the new module see mgmt/sshd/build.gradle as an example (ask me if you need more guidance).

CRaSH

In order to execute current crash build locally, you must select a different "jline.Terminal" implementation. The current terminal that was built for OSv (com.cloudius.cli.OSvTerminal) is using the stty JNI for sending commands to ioctl.

So there are two ways to execute it:

  1. Launch crash with a automatic terminal implementation discovery: java -Djline.terminal=auto -jar crash/build/libs/crash-1.0.jar
  2. Copy stty.so (from the master project build) to /usr/lib/jni/stty.so, and launch crash: java -jar crash/build/libs/crash-1.0.jar

CRaSH SSHD

After launching CRaSH, you will need to configure an SSH key pair for authentication.

mgmt's People

Contributors

amnonh avatar avikivity avatar dfj avatar elcallio avatar jaspal-dhillon avatar nehaljwani avatar nyh avatar pradeepkumars avatar rover-yu avatar sashalevin avatar syuu1228 avatar tgrabiec avatar tzach avatar wuzhy avatar zifeitong avatar

Watchers

 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.