EOS主网账号,钱包申请 教程(未完全版本)
? ? ? ?沒玩過虛擬機,更不會ubuntu的數據分析師,不是好的幣圈投機者。我說了蝦米?我也不知道,只知道我現在要寫的是什么,那就是,敲黑板啦,記錄下搭建環境爬坑過程。在這個過程中,可能會出現這樣或者那樣的問題,怎么辦咧,GOOGLE或者百度一下,基本都能夠解決。我花了三天時間(對比別人的5分鐘解決,53333實在得捂臉)。
下載虛擬機VMware? 18.04版本
安裝ubuntu ?
(劃重點:EOS安裝需要8GB內存和20GB的硬盤,這些是最低配置要求)
所以ubuntu配置時,需注意啦。萬一不足怎么辦咧?往下看
安裝VMware Tools
在系統上安裝docker成功后開始注冊賬號
目錄:
?????? 代碼運行
? ? ? ?錯誤解決
代碼執行:
啟動docker
1 sudo service docker start
開始EOS 環境搭建
2 sudo docker pull eosio/eos
創建文件夾
3 sudo mkdir -p /data/eosio/eosio-wallet
下載 EOS 源碼:
4 git clone https://github.com/EOSIO/eos --recursive
編譯
5 git submodule update --init –recursive
6 cd eos
7 ./eosio_build.sh?
編譯提示RAM空間不足
解決方法:
進到eos/scripts/路徑,修改對應的sh文件,
找到“Your system must have 7 or more Gigabytes of physical memory installed”字樣,
或者You must have at least %sGB of available storage to install EOSIO,
將后面的exit 1命令注釋即可。7可以改成你分配的內存大小。
修改后執行? ./eosio_build.sh?
依賴包下載失敗: dependency failed exiting now?
解決方法:? ?sudo apt-get update
?更新后 執行./eosio_build.sh
MongoD安裝成功了,但是驅動沒下載下來,failed to –production-release-asset-2e65be.s3……
Unable to download mongoDB C driver at this time
解決方式:從git上下載個試試
1 wget https://github.com/mongodb/mongo-c-driver/releases/download/1.6.3/mongo-c-driver-1.6.3.tar.gz
2 tar xzf mongo-c-driver-1.6.3.tar.gz
3 cd mongo-c-driver-1.6.3
4 ./configure --disable-automatic-init-and-cleanup
(進入下一層目錄 再出來 可以cd 回車,再cd eos 執行./eosio_build.sh)
?
編譯到68%停電了 也是-我能怎么辦呢?。
重新編譯
cd eos
./eosio_build.sh
出現:
/home/xxx/eos/libraries/softfloat
?does not contain a CMakeLists.txt file.
-- Configuring incomplete, errors occurred!
See also "/home/xxx/eos/build/CMakeFiles/CMakeOutput.log".
See also "/home/xxx/eos/build/CMakeFiles/CMakeError.log".
>>>>>>>>>>>>>>>>>>>> CMAKE building EOSIO has exited with the above error.
查看文檔:Determining if the pthread_create exist failed with the following output:
Change Dir: /home/xxx/eos/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_f68d7/fast"
?
-- Configuring AppBase on Linux
CMake Error at libraries/appbase/CMakeLists.txt:69 (add_subdirectory):
? add_subdirectory given source "examples" which is not an existing
? directory.
?
這都是些什么鬼 ,好心傷。
執行 sudo apt-get install libgl1-mesa-dev
buntu 下默認是沒有pthread庫的,以為是這問題
使用下面的指令安裝,再編譯也不行,縮進的這幾行可PASS
sudo apt-get install glibc-doc
sudo apt-get install manpages-posix-dev
man -k pthread_create
?
仔細看下 :報的錯誤里面 ,顯示路徑下缺少CMakelists.txt文件,在以下鏈接里 去找到對應路徑的文件 拷貝進去
https://github.com/EOSIO/eos
https://github.com/EOSIO/eos/tree/master/libraries
解決:將GIT上對應的文件夾里文件弄到本地
比如,下載壓縮包,本地解壓到當前文件夾就好 (認真臉:為什么會出現文件不全的問題?難道是克隆代碼時出了問題)
以上為過程中碰上的問題,及解決方式。
?
總結
以上是生活随笔為你收集整理的EOS主网账号,钱包申请 教程(未完全版本)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Java编程思想习题-魔鬼数字
- 下一篇: 电工结业试卷_电工电子考试试卷(含答案)