eosio build

in #eosio6 years ago (edited)

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

Sort:  

Thank you Blowist for this very cool guide.

I'm following you since today. I invite you to come and have a look to my steemit page, on which I try to compile all the informations coming from trustable actors from the EOS.IO ecosystem.

Have a nice week,

Thierry

The best and most beautiful things in the world cannot be seen or even touched - they must be felt with the heart.

Coin Marketplace

STEEM 0.34
TRX 0.11
JST 0.034
BTC 66361.53
ETH 3253.14
USDT 1.00
SBD 4.43