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%停电了 也是-无fuck可说

重新编译

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上对应的文件夹里文件弄到本地

比如,下载压缩包,本地解压到当前文件夹就好 (认真脸:为什么会出现文件不全的问题?难道是克隆代码时出了问题)

以上为过程中碰上的问题,及解决方式。

 

猜你喜欢

转载自blog.csdn.net/aiya_aya/article/details/81080323