配置ubuntu的hyperledger环境相关网站

整体步骤:https://www.bilibili.com/video/BV13E411u7Pj?p=6

hyperledger fabric环境搭建:
https://www.cnblogs.com/show58/p/13182479.html
https://blog.csdn.net/qianxuezi/article/details/105851614

binary不好下载
https://teikin.lanzous.com/ic967ba(https://blog.csdn.net/qianxuezi/article/details/105851614
配套fabric-samples,内部打包了binary)

Ubuntu虚拟机网络配置(NAT,配置静态IP):
1)https://blog.csdn.net/ketih/article/details/72330912
2)https://www.cnblogs.com/zlsgh/p/9689340.html

Git clone时gnutls_handshake() failed解决办法:
1) https://my.oschina.net/u/4279402/blog/3435159
2) https://www.cnblogs.com/ArsenalfanInECNU/p/11327617.html
3) https://blog.csdn.net/songtianlun/article/details/107613655

Npm install报错(npm install grpc):未能加载VS组件,需要安装带有C++桌面开发工具(Desktop development tool with C++):https://blog.csdn.net/qq_36610426/article/details/97757300(注意最后一句,要先删掉先前的node_modules文件夹)

安装homebrew
安装docker:https://www.howtoforge.com/tutorial/how-to-create-docker-images-with-dockerfile-on-ubuntu-16-04/

安装docker-compose:https://blog.csdn.net/diligent_lee/article/details/79098302

解决运行/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"失败的问题:(直接换成国内源,这个直接弄了一个脚本很方便)
https://blog.csdn.net/rzfanfan/article/details/114287285

解决运行/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"时访问raw.githubusercontent.com时failed to connect to 127.0.0.1 port 443: Connection refused的问题:
https://blog.csdn.net/qq_22583191/article/details/105934680

解决运行/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"时访问github时failed to connect to 127.0.0.1 port 1080: Connection refused的问题:
1)https://www.cnblogs.com/jerryspace/p/10313955.html
2)https://blog.csdn.net/seven_28/article/details/104934623
(其他可能方式https://blog.csdn.net/sufubo/article/details/112468321、https://www.cnblogs.com/HJumping/p/10724219.html)

下载go很慢

安装nodejs:
https://www.cnblogs.com/EasonJim/p/8324834.html

git clone一个http但总是识别成https,报错gnutls_handshake() failed:
先根据https://www.cnblogs.com/ArsenalfanInECNU/p/11327617.html设置该网站为http.proxy,再根据https://blog.csdn.net/sufubo/article/details/112468321删除http.proxy,再正常git clone

下载fabric、fabric-samples:
https://blog.csdn.net/qianxuezi/article/details/105851614(快速安装)
https://blog.csdn.net/rainbowIT/article/details/114080324(拉取镜像、测试网络)https://www.cnblogs.com/mumuzifeng/p/14048393.html(测试网络)
https://www.cnblogs.com/mumuzifeng/p/14048393.html(问题解决)

npm install报错:Error: EACCES: permission denied, mkdir…
https://blog.csdn.net/weixin_42713970/article/details/86631184

清理缓存
见视频

升级合约(chaincode):

  1. 修改合约
  2. Install(./scripts/install_chaincode.js)
  3. Instantiate
  4. Upgrade
  5. 修改配置文件(./config/connection_profile_local.json)更新chaincode的ID和version
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值