標籤:

EOS安裝配置

EOS安裝配置

EOS 1.0.1版本已經發布了。

EOS現在相關的文檔還匱乏,也只能通過源代碼編譯安裝,現在,記錄一下EOS安裝配置的過程。

安裝

  1. 先clone源代碼
  2. 編譯

git clone https://github.com/EOSIO/eoscd eosgit submodule update --init --recursive./eosio_build.sh

由於eos依賴很多第三方的包,而且國內網路不穩定,因此,git可能需要一段時間。

編譯clang的支持,在我的Ubuntu 16.04上,需要額外安裝一下庫:

1. clang-4.0 2. lldb-4.0 3. libclang-4.0-dev 4. libgmp3-dev 5. python3-dev 6. doxygen 7. graphviz

編譯腳本會自動下載這些安裝包。

大概安裝編譯需要半小時到1小時,編譯成功後,在當前的 『build/programs/nodeos』目錄下,有nodeos可執行文件,運行 nodeos ,啟動節點:

2367051ms thread-0 chain_plugin.cpp:200 plugin_initialize ] initializing chain plugin2367051ms thread-0 chain_plugin.cpp:354 plugin_initialize ] Starting up fresh blockchain with default genesis state.2367075ms thread-0 http_plugin.cpp:285 plugin_initialize ] configured http to listen on 127.0.0.1:88882367075ms thread-0 net_plugin.cpp:2815 plugin_initialize ] Initialize net plugin2367076ms thread-0 net_plugin.cpp:2836 plugin_initialize ] host: 0.0.0.0 port: 9876 2367076ms thread-0 net_plugin.cpp:2908 plugin_initialize ] my node_id is dcfb00ff3ebb4f4f2f212e8420375279dd3af29690c4179c3161fe14e81cbe172367076ms thread-0 main.cpp:104 main ] nodeos version 0961a5602367076ms thread-0 main.cpp:105 main ] eosio root is /home/inchain/.local/share2367076ms thread-0 controller.cpp:1142 startup ] No head block in fork db, perhaps we need to replay2367076ms thread-0 controller.cpp:307 initialize_fork_db ] Initializing new blockchain with genesis state 2367154ms thread-0 chain_plugin.cpp:409 plugin_startup ] starting chain in read/write mode2367154ms thread-0 chain_plugin.cpp:414 plugin_startup ] Blockchain started; head block is #1, genesis timestamp is 2018-06-01T12:00:00.0002367154ms thread-0 http_plugin.cpp:323 plugin_startup ] start listening for http requests2367154ms thread-0 net_plugin.cpp:2920 plugin_startup ] starting listener, max clients is 252367154ms thread-0 producer_plugin.cpp:577 plugin_startup ] producer plugin: plugin_startup() begin2367155ms thread-0 producer_plugin.cpp:604 plugin_startup ] producer plugin: plugin_startup() end

推薦閱讀:

坐等空投?這個EOS糖果你該這麼領!
EOS十問十答,韭菜必讀
聽說 360 想引起數字貨幣恐慌,嚇得我趕緊又買了100個幣……
幣圈站著賺錢的方法,必須學會
OTCBTC 關於EOS分叉幣與空投糖果的公告(附評論)

TAG:EOS |