JIN SEONG KIM avatar

eosio build

blowist

Published: 16 Sept 2018 › Updated: 16 Sept 2018eosio build

eosio build

environment:
google cloud flatform computer engine
custom(vCPU 2ea, 8GB memory)
CPU faltform: Intel Haswell

1.eosio BUILD at ubuntu 18.04

$ apt-get update
$ apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev
$ apt-get install git
$ apt-get install sudo
$ git clone https://github.com/EOSIO/eos --recursive
$ cd eos $ ./eosio_build.sh

2. VERIFICATION

  • export PATH=${HOME}/opt/mongodb/bin:$PATH

  • /home/"ACCOUNT" /opt/mongodb/bin/mongod -f /home/"ACCOUNT"/opt/mongodb/mongod.conf

  • cd /home/"ACCOUNT"/eos/build; make test

~/eos$ cd build

~/eos/build$ make test

3. RESULT OF TEST
98% tests passed, 1 tests failed out of 46
Test #36: nodeos_run_test-mongodb ..............***Failed 74.56 sec

4.REMOVE "build" directory
~/eos$ rm -r build

5. REBUILD

~/eos$ ./eosio_build.sh
< 100% tests passed, 0 tests failed out of 46 >

6. INSTALL & nodeos
~/eos$ sudo -s

./eosio_install.sh 

  nodeos 

7. WALLET CREATION
cleos wallet create --to-console

  • Creating wallet: default
    Save password to use in the future to unlock this wallet.
    Without password imported keys will not be retrievable.
    "PW5Jci *****************************************RM6Swn8o7PH"

8. KEY CREATION
1)cleos create key --to-console
Private key: ****************************************************************
Public key: EOS8NqQvHctNon6BQGMaUUZYaPJA2Cq1fjf8zjoGidTZQfL2nP55m

2)cleos create key --to-console
Private key: ****************************************************************
Public key: EOS6ThNDRpaVmRyRomL6yGoHs5Ah4xXN5qhG6CTjFE1kwyA5q6LAE

9. WALLET IMPORT
1)cleos wallet import --private-key
***************************************************************
imported private key for: EOS8NqQvHctNon6BQGMaUUZYaPJA2Cq1fjf8zjoGidTZQfL2nP55m

2)cleos wallet import --private-key
****************************************************************
imported private key for: EOS6ThNDRpaVmRyRomL6yGoHs5Ah4xXN5qhG6CTjFE1kwyA5q6LAE

. end

Leave eosio build to:

Written by

Read more #eosio posts


Best Posts From JIN SEONG KIM

We have not curated any of blowist's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From JIN SEONG KIM