{"id":25284274,"url":"https://github.com/elastos/elastos.carrierclassic.bootstrap","last_synced_at":"2025-10-27T19:31:15.233Z","repository":{"id":56086961,"uuid":"115599104","full_name":"elastos/Elastos.CarrierClassic.Bootstrap","owner":"elastos","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-13T14:07:33.000Z","size":1112,"stargazers_count":2,"open_issues_count":2,"forks_count":4,"subscribers_count":28,"default_branch":"master","last_synced_at":"2023-08-06T18:53:07.964Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elastos.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-28T07:47:47.000Z","updated_at":"2023-08-06T18:53:07.965Z","dependencies_parsed_at":"2022-08-15T12:50:54.869Z","dependency_job_id":null,"html_url":"https://github.com/elastos/Elastos.CarrierClassic.Bootstrap","commit_stats":null,"previous_names":["elastos/elastos.carrierclassic.bootstrap"],"tags_count":6,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastos%2FElastos.CarrierClassic.Bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastos%2FElastos.CarrierClassic.Bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastos%2FElastos.CarrierClassic.Bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastos%2FElastos.CarrierClassic.Bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elastos","download_url":"https://codeload.github.com/elastos/Elastos.CarrierClassic.Bootstrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238549281,"owners_count":19490792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-12T20:37:12.022Z","updated_at":"2025-10-27T19:31:14.916Z","avatar_url":"https://github.com/elastos.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elastos Carrier Bootstrap Daemon \n\n[![Build Status](https://travis-ci.com/elastos/Elastos.NET.Carrier.Bootstrap.svg?branch=master)](https://travis-ci.com/elastos/Elastos.NET.Carrier.Bootstrap)\n\n## Summary\n\nElastos Carrier bootstrap daemon is an essential service to help new nodes join and bootstrap the Elastos Carrier network.\n\n## Build from source\n\n### GNU/Linux (Ubuntu 16.04-x86_64 LTS is recommended)\n\nCurrently, **GNU/Linux is the only recommend platform** to run the Elastos carrier bootstrapd officially.\n\n#### 1. Install Pre-requirements\n\nRun the following commands to install all pre-requirements.\n\n```shell\n$ sudo apt-get update\n$ sudo apt-get install build-essential autoconf automake autopoint libtool bison texinfo pkg-config cmake\n```\n\n#### 2. Build\n\nChange to the directory `$(SRC_DIR)/build`, and run the following commands:\n\n```shell\n$ mkdir linux\n$ cd linux\n$ cmake -DCMAKE_INSTALL_PREFIX=outputs ../..\n$ make install\n```\n\nTo build Debian (.deb) package, run command with `\"dist\"` option:\n\n```shell\n$ make dist\n```\n\nThe generated Debian package will be located at the current working directory. You can use the command to locate it:\n\n```shell\n$ ls -la *.deb\n```\n\n#### 3. Deployment \u0026 Run\n\nRecommended target platform: **Ubuntu server 16.04 LTS / x86_64**\n\nCopy generated Debian package (.deb file) to target machine. Then run following command to install Elastos Carrier bootstrap daemon:\n\n```shell\n$ sudo dpkg -i /path/to/elastos_bootstrapd.deb\n```\n\nAfter the install complete, the bootstrap daemon will start automatically. You can run:\n\n```shell\n$ sudo systemctl status ela-bootstrapd\n```\n\nto check the service status. If the daemon started successfully, the status should be **active (running)**.\n\nReference: [Man page for systemctl](https://www.freedesktop.org/software/systemd/man/systemctl.html).\n\n***NOTICE:***\n\n##### 1. Update bootstrap nodes list\nAfter installed Elastos Carrier bootstrap daemon, you should modify `/etc/elastos/bootstrapd.conf`, update the **bootstrap_nodes** section according your deployment.\n\n##### 2. Set external IP to turn server explicitly\nSome Linux VPS servers , for example, servers from AWS, can't fetch public IP address directly by itself,  so you have manually update the public IP address of item **external_ip** in section **turn** for config file `/etc/elastos/bootstrap.conf`.\n\n### MacOS\n\nYou can also develop Elastos Carrier bootstrapd on MacOS for testing or debugging purposes.\n\n#### 1. Install Pre-requirents\n\nYou need to install the following utility packages on your MacOS before build.\n\n```\nautoconf automake cmake libtool shtool pkg-config gettext\n```\n\nOr, you can use `brew` command to install the packages:\n\n```\nbrew install autoconf automake cmake libtool shtool pkg-config gettext\n```\n\n#### 2. Build\n\nChange to directory `$(SRC_DIR)/build`, and run the following commands:\n\n```shell\n$ mkdir macos\n$ cd macos\n$ cmake -DCMAKE_INSTALL_PREFIX=outputs ../..\n$ make install\n```\n\nAfter that, you can run the following commands to run **ela-bootstrapd** to boost the bootstrap node as long as finishing certian configurations:\n\n```shell\n$ cd outputs/usr/bin\n$ ./ela-bootstrapd --config=../../etc/elastos/bootstrapd.conf --foreground\n```\n\n#### 3. Deployment\n\nElastos Carrier bootstrap daemon currently does not support MacOS.\n\n## Thanks\n\nSincerely thanks to all teams and projects that we rely on directly or indirectly.\n\n## License\n\nGPLv3\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felastos%2Felastos.carrierclassic.bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felastos%2Felastos.carrierclassic.bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felastos%2Felastos.carrierclassic.bootstrap/lists"}