編譯環(huán)境:Ubuntu16.04 LTS
1恕洲、cd eos
????./eosio_build.sh
2测砂、報(bào)錯(cuò)
? ? ? 一、執(zhí)行eosio_build.sh可能會(huì)出現(xiàn):Your system must have 7 or moreGigabytes of physical memory installed
????? 修改scripts/eosio_build_ubuntu.sh的代碼:
??????????? -? ?????if [ "${MEM_MEG}" -lt 7000 ]; then
+?????? if [ "${MEM_MEG}" -lt 2000 ]; then
??????????????? printf "\\tYour system must have 7 or more Gigabytes of
physical memory installed.\\n"
??????????????? printf "\\tExiting now.\\n"
?????????? ?exit 1
????二因惭、還會(huì)出現(xiàn)You must have at least 20GB ofavailable storage to install EOSIO.
修改scripts/eosio_build_ubuntu.sh的代碼:
?????if [ "${DISK_AVAIL%.*}" -lt "${DISK_MIN}" ]; then
??????????????? printf "\\tYou must haveat least %sGB of available storage to install EOSIO.\\n""${DISK_MIN}"
??????????????? #printf\\tExiting now.\\n
??????????????? #exit 1(直接注釋掉這行)
????三倦淀、安裝MongDB會(huì)出現(xiàn)錯(cuò)誤
這個(gè)你可以在/etc/hosts 修改hosts文件,在文件里加上
thub-production-release-asset-2e65be.s3.amazonaws.com
然后再執(zhí)行eosio_build.sh
參考文檔:https://blog.csdn.net/w7849516230/article/details/80781173
????????????????? https://steemit.com/eos/@leoliao/ubuntu-eos
https://blog.csdn.net/zhuxiangzhidi/article/details/79703648
eos命令大全:http://www.reibang.com/p/532af1e52e12
官方: https://developers.eos.io/eosio-cleos/reference#cleos-create