Code Monkey home page Code Monkey logo

coreos's Introduction

Bridgefog headless-node CoreOS setup

  1. Have this repo available locally.

  2. Use OMC to launch an instance:

    omc launch ./omc/coreos-stack.digitalocean.scm
  3. After this completes, use fleetctl to start the services.

    1. cd into the systemd-units directory.

    2. Also, make sure you have a recent-ish version of fleetctl installed locally.

    3. Set these variables set in your shell (they will be automatically set by direnv [see the .envrc file]):

      FLEETCTL_DRIVER=etcd
      FLEETCTL_ENDPOINT=http://localhost:2379
    4. Then ssh into the node while forwarding port 2379:

      ssh -L 2379:localhost:2379 -l core <IP>
    5. Now you can interact with the node (or more accurately, the whole cluster, via this node), using fleetctl:

      fleetctl list-machines
    6. To start the ipfs and fog-headless-node services, do this (this is where you must be in the systemd-units directory):

      fleetctl start ipfs fog-headless-node@1

      Note: the 1 here in fog-headless-node@1 is an arbitrary ID, not a count or other meaningful value. It can be anything you like.

coreos's People

Contributors

rtlong avatar namick avatar

Watchers

 avatar James Cloos 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.