Code Monkey home page Code Monkey logo

elastos.net.carrier.bootstrap's Introduction

Elastos Carrier Boostrap Daemon

Summary

Elastos Carrier boostrap daemon is a basic service to help new node join and bootstrap the Elastos Carrier network.

Build from source

Ubuntu

Currently, Linux is the only recommend platform to run the Elastos carrier boostrapd officially.

1. Install Pre-requirements

Run the following commands to install all pre-requirements.

$ sudo apt-get update
$ sudo apt-get install build-essential autoconf automake autopoint libtool bison texinfo

2. Build

Change to the directory $(SRC_DIR)/build, and run the following command:

$ ./linux_build.sh

To build Debian (.deb) package, run command with "dist" option:

$ ./linux_build.sh dist

The generated Debian package' location is: $(SRC_DIR)/build/_dist/Linux-x86_64/[debug|release]/elastos_bootstrapd.deb

For more build options, run command with "help" option:

$ ./linux_build.sh help

3. Deployment & Run

Recommended target platform: Ubuntu server 16.04 LTS / x86_64

Copy generated Debian package (.deb file) to target machine. Then run following command to install Elastos Carrier bootstrap daemon:

$ sudo dpkg -i /path/to/elastos_bootstrapd.deb

After install complete, the bootstrap deamon will start automatically. You can run:

$ sudo systemctl status ela-bootstrapd

to check the service status. If the deamon started successful, the status should be active (running).

Reference: Man page for systemctl.

NOTICE:

After installed Elastos Carrier bootstrap deamon, you should modify /etc/elastos/bootstrapd.conf, update the bootstrap_nodes section according your deployment.

MacOS

For convenience, you can develop Elastos Carrier boostrapd on MacOS for testing or debugging.

1. Install Pre-requirents

You need to install the following utility packages on your MacOS before build.

autoconf automake libtool shtool pkg-config gettext

Or, you can use brew command to install the packages:

brew install autoconf automake libtool shtool pkg-config gettext

2. Build

Change to directory $(SRC_DIR)/build, and run the following command:

$ ./darwin_build.sh

For more build options, run build script with "help" option:

$ ./darwin_build.sh help

3. Deployment

Elastos Carrier bootstrap daemon currently not support deploy on MacOS.

elastos.net.carrier.bootstrap's People

Contributors

stiartsly avatar jingyu avatar libbin avatar

Watchers

lemon 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.