EOS 编译安装

第一步:下载github上的代码

git clone https://github.com/EOSIO/eos --recursive

第二步:运行安装程序

cd eos
./eosio_build.sh

以上过程大概需要20-30分钟

第三步:安装包

cd ../build
make install

完成安装

第四步:验证安装是否成功

首先,运行mongod,在Linux系统中,运行:

~/opt/mongodb/bin/mongod -f ~/opt/mongodb/mongod.conf &

在Mac系统中,运行:

/usr/local/bin/mongod -f /usr/local/etc/mongod.conf &

然后,运行以下命令,用于检验eosio是否安装成功:

make test

注意:

1- EOSIO的安装最低配置是

  • 7GB RAM free required
  • 20GB Disk free required

如果电脑配置不满足,会提示资源不足。 请进到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命令去掉,或者将判断语句全部注释掉,即可。

2- 编译时间在20-30分钟

为了编译过程顺畅,建议使用海外服务器。如:DigitalOcean

3- 目前eosio支持的操作系统

Amazon 2017.09 and higher.
Centos 7.
Fedora 25 and higher (Fedora 27 recommended).
Mint 18.
Ubuntu 16.04 (Ubuntu 16.10 recommended).
MacOS Darwin 10.12 and higher (MacOS 10.13.x recommended).


 

网址:http://www.qukuailianxueyuan.io/

欲领取造币技术与全套虚拟机资料

区块链技术交流QQ群:756146052  备注:CSDN

尹成学院微信:备注:CSDN

猜你喜欢

转载自blog.csdn.net/yincheng0571/article/details/81204111
eos