- 第 1 章 区块链
- 第 2 章 以太坊
- 第 3 章 以太坊私链入门
- 第 4 章 以太坊网络
- 第 5 章 geth v1.8.16 命令详解
- 第 6 章 Wallet
- 第 7 章 Token
- 第 8 章 智能合约语言 Solidity v0.5.0
- 第 9 章 Truffle v4.1.8 开发框架
- 第 10 章 web3.js - 1.0.0
- 第 11 章 web3j v3.4.0 - Jave Client
- 11.2. 启动以太坊
- 11.3. Maven pom.xml 文件
- 11.4. Java 与 Solidity 数据类型映射关系
- 11.5. 常量
- 11.6. 连接到服务器获取版本号
- 11.7. 获得以太坊状态信息
- 11.8. 单位转换
- 11.9. 账号管理
- 11.10. Credentials
- 11.11. 交易
- 11.12. 钱包
- 11.13. 智能合约
- 11.14. ERC20合约
- 11.15. Infura
- 11.16. 助记词
- 11.17. 过滤器 (Filter)
- 11.18. Subscription
- 11.19. 解锁账号
- 11.20. IBAN (International Bank Account Number)
- 11.21. Springboot with Ethereum (web3j)
- 第 12 章 web3.py - A python interface for interacting with the Ethereum blockchain and ecosystem.
- 第 14 章 Ethereum Developer APIs
- 第 15 章 infura
- 第 16 章 以太坊案例
- 第 17 章 FAQ
- 17.3. Error: authentication needed: password or unlock
- 17.4. 新增节点后不生效
- 17.5. Unhandled rejection Error: Returned error: The method personal_unlockAccount does not exist/is not available
- 17.6. Error: exceeds block gas limit
- 17.7. Migrations.sol:11:3: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(…) { … }" instead.
- 17.8. Exception in thread "main" rx.exceptions.OnErrorNotImplementedException: Invalid response received: okhttp3.internal.http.RealResponseBody@6c25e6c4
- 17.9. 旧版本 Remix(browser-solidity) 本地安装
- 第 18 章 Hyperledger Fabric v2.0.0
- 第 19 章 Hyperledger Fabric 运维
- 第 20 章 Chaincode 链码(智能合约)
- 第 21 章 Hyperledger Fabric Client SDK for Node.js
- 第 22 章 fabric-sdk-java
- 第 24 章 已知 Hyperledger 落地案例
- 第 25 章 Fabric Command
- 第 26 章 Fabric FAQ
- 第 27 章 IPFS(InterPlanetary File System,星际文件系统)
- 第 28 章 IPFS 命令
- 第 29 章 IPFS WebUI
- 第 30 章 IPFS 集群配置
- 第 31 章 IPFS API
- 第 32 章 IPFS Faq
- 第 33 章 EOS
- 第 34 章 EOS 安装
- 第 35 章 CLEOS
- 第 36 章 智能合约开发
- 第 37 章 EOS Dapp 开发
- 第 38 章 FAQ
- 第 39 章 BaaS (Blockchain as a Service) 平台
- 第 40 章 BitCoin
- 第 41 章 其他区块链相关
- 附录 1. 附录
文章来源于网络收集而来,版权归原创者所有,如有侵权请及时联系!
34.2. CentOS 7 源码安装
34.2. CentOS 7 源码安装
yum install -y centos-release-scl yum install -y devtoolset-7 yum install -y git yum install -y gcc gcc-c++ make patch cmake automake autoconf \ libtool ocaml doxygen graphviz-devel libicu-devel bzip2-devel gmp-devel python-devel gettext-devel cd /usr/local/src/ git clone https://github.com/EOSIO/eos --recursive cd eos/ # git submodule update --init --recursive ./eosio_build.sh
[root@iZj6c7cj14ulhfndlmeicbZ eos]# ./eosio_build.sh Beginning build version: 1.2 Wed May 2 03:15:34 UTC 2018 User: root git head id: f537bc50b21a7807ff0ee3af83d8f560ce09afa5 Current branch: * master ARCHITECTURE: Linux OS name: CentOS Linux OS Version: 7 CPU speed: 2494Mhz CPU cores: 4 Physical Memory: 7822 Mgb Disk install: /dev/vda1 Disk space total: 492G Disk space available: 138G Checking Yum installation Yum installation found at /usr/bin/yum. Checking installation of Centos Software Collections Repository. The Centos Software Collections Repository, devtoolset-7 and Python3 are required to install EOSIO. Do you wish to install and enable this repository, devtoolset-7 and Python3 packages? 1) Yes 2) No #? 1
输入 1 回车继续
Complete! YUM repository successfully updated. Checking YUM for installed dependencies. Package git found. Package autoconf found. Package automake found. Package libtool NOT found. Package ocaml.x86_64 NOT found. Package doxygen NOT found. Package graphviz-devel.x86_64 NOT found. Package libicu-devel.x86_64 NOT found. Package bzip2-devel.x86_64 NOT found. Package openssl-devel.x86_64 NOT found. Package gmp-devel.x86_64 NOT found. Package python-devel.x86_64 NOT found. Package gettext-devel.x86_64 NOT found. The following dependencies are required to install EOSIO. 1. libtool 2. ocaml.x86_64 3. doxygen 4. graphviz-devel.x86_64 5. libicu-devel.x86_64 6. bzip2-devel.x86_64 7. openssl-devel.x86_64 8. gmp-devel.x86_64 9. python-devel.x86_64 10. gettext-devel.x86_64 Do you wish to install these dependencies? 1) Yes 2) No #?
输入 1 回车继续
_______ _______ _______ _________ _______ ( ____ \( ___ )( ____ \\__ __/( ___ ) | ( \/| ( ) || ( \/ ) ( | ( ) | | (__ | | | || (_____ | | | | | | | __) | | | |(_____ ) | | | | | | | ( | | | | ) | | | | | | | | (____/\| (___) |/\____) |___) (___| (___) | (_______/(_______)\_______)\_______/(_______) EOSIO has been successfully built. 01:20:59 To verify your installation run the following commands: /root/opt/mongodb/bin/mongod -f /root/opt/mongodb/mongod.conf & source /opt/rh/python33/enable export PATH=${HOME}/opt/mongodb/bin:$PATH cd /usr/local/src/eos/build; make test For more information: EOSIO website: https://eos.io EOSIO Telegram channel @ https://t.me/EOSProject EOSIO resources: https://eos.io/resources/ EOSIO Stack Exchange: https://eosio.stackexchange.com EOSIO wiki: https://github.com/EOSIO/eos/wiki
这里跳过 make test 直接安装
cd build make install
默认配置文件 cofnig.ini
[root@netkiller config]# grep -v "^#" config.ini | grep -v "^$" bnet-endpoint = 0.0.0.0:4321 bnet-follow-irreversible = 0 bnet-no-trx = false bnet-peer-log-format = ["${_name}" ${_ip}:${_port}] blocks-dir = "blocks" chain-state-db-size-mb = 1024 reversible-blocks-db-size-mb = 340 contracts-console = false https-client-validate-peers = 1 http-server-address = 127.0.0.1:8888 access-control-allow-credentials = false max-body-size = 1048576 verbose-http-errors = false p2p-listen-endpoint = 0.0.0.0:9876 p2p-max-nodes-per-host = 1 agent-name = "EOS Test Agent" allowed-connection = any max-clients = 25 connection-cleanup-period = 30 network-version-match = 0 sync-fetch-span = 100 max-implicit-request = 1500 use-socket-read-watermark = 0 peer-log-format = ["${_name}" ${_ip}:${_port}] enable-stale-production = false pause-on-startup = false max-transaction-time = 30 max-irreversible-block-age = -1 signature-provider = EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV=KEY:5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3 keosd-provider-timeout = 5 txn-reference-block-lag = 0 wallet-dir = "." unlock-timeout = 900
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论