EOS Development (i) Ubuntu build EOS Environment

Source: Internet
Author: User
Tags git clone

EOS Client: https://eosio.github.io/eos/
1. Download EOS

git clone Https://github.com/eosio/eos--recursive

2 Perform automated build scripts (long process)

>CD Eos
>./build.sh ubuntu
or input
>./eosio-build.sh ubuntu
is based on the download version to determine

3. After successfully building the project
In the EOS directory the CD Build/programs/eosid run eosid-it may exit an error, but if not, close it immediately ctrl-c. Note that Eosid creates a directory named Data-dir that contains the default configuration (Config.ini) and other internal directories. This default data store path can overwrite eosid by passing –data-dir/path/to/data.
In the Eosid directory
Cd/data-dir
Nano Config.ini
According to the official action:
Edit the Config.ini file to add/update the following settings to the existing default values:

# Load The Testnet Genesis State, which creates some initial blocks producers with the default key Genesis-json =/path/to/ Eos/source/genesis.json The path here is set in the actual path of the Genesis.json file in Ubuntu. # Enable production on a stale chain, since a Single-nod E test chain is pretty very always stale enable-stale-production = true # Enable block production with the testnet produce rs Producer-name = Inita Producer-name = INITB Producer-name = initc Producer-name = initd Producer-name = Inite producer- 
Name = INITF Producer-name = INITG Producer-name = Inith Producer-name = Initi Producer-name = initj Producer-name = initk Producer-name = initl Producer-name = initm Producer-name = initn Producer-name = Inito Producer-name = INITP Producer-na me = initq Producer-name = Initr Producer-name = inits Producer-name = Initt producer-name = Initu # Load The Block Produc Er plugin produce Blocks plugin = Eosio::p roducer_plugin # Wallet Plugin plugin = eosio::wallet_api_plugin # A S-as API and HTTP pLugins plugin = Eosio::chain_api_plugin Plugin = Eosio::http_plugin 

You should now be able to run EOSD, as shown in the following figure:

The EOS block chain you configured is successful.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.