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.