centos7部署网站
1、>eth.coinbase. {.
2、eth:{. >eth.getBlock(255).
3、Installing client.INFO[02-09|10:55:47]Importednewblockreceiptscount=2048elapsed=143msbytes=8192number=2432hash=cc563998edb1ignored=0.
4、INFO[02-09|10:55:59]Committednewheadblocknumber=3947hash=96d4bdb936ca.
5、geth-datadir/opt/blockchaininitgenesis.json.
6、yum-yinstallgolang.
7、>personal.newAccount(”me”)。
8、#node2,3, discport=0″)。
9、wgethttps://gethstore.blob.core.windows.net/builds/geth-alltools-linux-amd64-3-4bb3c89d.tar.gz。
10、#登录到节点1看。INFO[02 -09|10:55:59]Importednewblockheaderscount=39elapsed=628msnumber=4263hash=df5c71ee6138ignored=0.
centos部署web项目
1、255. INFO[02-09|10:55:59]Importednewblockheaderscount=1792elapsed=194snumber= 4224hash=34b889a9ffcaignored=0.
2、 “alloc”: {} # 参数名称参数描述。
3、 INFO[02-09|10:55:45]Importednewblockheaderscount=192elapsed=803snumber=192hash=0a09dc8adbb1ignored=0.
4、 #一旦你退出控制台,这个控制台添加节点的方法就会失败,所以要使用命令方法来添加它。
5、 “eip155Block”: 0,.
6、>goversiongo3linux/amd64.
7、nohupgeth-networkid123-datadir/opt/blockchain- identity “TestChain_112″-mine-port30303-nodiscover-rpc- rpcaddr0-rpcport8545-rpcapi “db,eth,net,eth,net,eth,net,
8、创始块初始化文件genesis.json.
9、#gasLimit 这个值为消耗的GAS总量设置了一个限制,用于限制区块所能包含的交易信息总量,因为我们是一个私有链,所以要填上最大值!
10、 INFO[02-09|10:55:59]Importednewblockreceiptscount=1514elapsed=429msbytes=6056number=3946hash=37d0fc7484d9ignored=0.
< h2>centos7 deploying tomcat
1. 创建矿工账户。 diff: 2097152,.
2.goversion.nonce: “0x0000000000000033″,.
3. #difficulty设置当前区块的难度,如果难度太高,cpu挖矿就很难,在这里设置较小的难度。
4.创建后有。” eip158Block”。0.
5. 私有链节点初始化。#1创建的账户默认为矿工账户。
6. “gasLimit”: “0x8000000″,.
7.节点默认矿工账户。INFO[02-09|10:55:59]导入新链段块=39txs=0mgas=000elapsed=711msmgasps=000number=4263hash=df5c71ee6138.
8.INFO[02-09|10:55:59]Fastsynccomplete,自动禁用。
9.远程地址。”112:52756″.
10. #timestamp设置Genesis块的时间戳。
centos部署站点
1、WARN[02-09|10:55:59]Skippingdeeptransactionreorgdepth=4224.
2、当前块编号。” config”:{。
3、atget(webjs:6247:38)。
4、当前区块内容。#coinbase矿工的账户,请随意填写。
5、远程地址。”114:44970″.
6、当前区块内容。#mixhash与nonce一起用于挖矿,是由前一个区块的一部分生成的哈希值。注意,他和nonce的设置需要满足以太坊黄皮书中BlockHeaderValidity,(44)部分描述的条件
7、INFO[02-09|10:56:04]导入newchainsegmentblocks=1txs=0mgas=000elapsed=450msmgasps=000number=4267hash=759130d8d811.
8、控制台方式连接到私有链。 caps。[“eth/63″],。
9、atwebjs: 6347:15.
10、id:” 60823ad532b30cebf94013295d08010b657fb4a3c226fd6a3a96578bb85292f9987a4d0b3f24d92cd448dba3d083418dde368f811797c3bc966c3a9775e19553″,. .
docker部署centos
1、版本:63。mkdir/opt/blockchain.
2、协议。{. > admin.peers.
3、true. [{. #parentHash 前一个区块的哈希值,因为是创世区块,所以这个值是0.
4、在。#noncenonce是一个用于挖矿的64位随机数,注意他和mixhash的设置需要满足以太的Yellowpaper,BlockHeaderValidity ,以及第(44)节中描述的条件!
6、 INFO[02-09|10:55:59]Importednewchainsegmentblocks=277txs=0mgas=000elapsed=845msmgasps=000number=4224hash=34b889a9ffca.
<
7、},. INFO[02-09|10:55:49]Generatedethashverificationcacheepoch=1elapsed=515s.
8、 >INFO[02-09|10:55:42] Blocksynchronisationstarted.
9、 #extraData附加信息,请随意填写你的个性化信息。
10、INFO[02-09|10:55:42]Importednewstateentriescount=1elapsed=431μsprocessed=1pending=0retry=0duplicate=0unexpected=0.
netcore部署到centos
1. INFO[02-09|10:55:46]Importednewblockheaderscount=2048elapsed=262snumber=2432hash=cc563998edb1ignored=0.
2.geth-networkid123-datadir/opt/blockchainconsole.
3. INFO [02-09|10:55:45] Importednewblockreceiptscount=192elapsed=552msbytes=768number=192hash=0a09dc8adbb1ignored=0.
4. INFO[02-09|10:55:45] Importednewblockreceiptscount=192elapsed=790msbytes=768number=384hash=a976d19df3aeignored=0.
5. “homesteadBlock”:0,。
6.nohupgeth-networkid123-datadir/opt/blockchain-mine-nodiscover -rpc-rpcaddr0-rpcapi “db, eth, net, web3, admin, discport=0″。
7. “timestamp”: “0x0″,.
8.INFO[02-09|10:55:59]Importednewstateentriescount=1elapsed=436μsprocessed=2pending=0retry=0duplicate=0unexpected=0.
9.atwebjs:3143:20.
10.remoteAddress: “113:37136″.
原创文章,作者:币圈百科,如若转载,请注明出处:https://6684456.com/173.html