FISCO BCOS部署双群组三机构六节点(超详细步骤,包括可能出现的错误的解决方法!)

官方文档部署国密区块链 — FISCO BCOS 2.0 v2.11.0 文档 (fisco-bcos-documentation.readthedocs.io)icon-default.png?t=O83Ahttps://fisco-bcos-documentation.readthedocs.io/zh-cn/latest/docs/enterprise_tools/tutorial_detail_operation_gm.html

官方文档只有执行过程,其中一些出现的问题并没有提供解决方式,此文章详细讲解了如何进行部署,包成功。

执行前提
所用Ubuntu版本iso原文件下载地址
https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/22.04.3/ubuntu-22.04.3-desktop-amd64.iso


执行命令
git clone https://gitee.com/FISCO-BCOS/generator.git

会提示 
找不到命令 “git”,但可以通过以下软件包安装它:
sudo apt install git

执行命令 
sudo apt install git

执行命令
git clone https://gitee.com/FISCO-BCOS/generator.git

执行命令
cd ~/generator

sudo bash ./scripts/install.sh

会提示
python and pip is not same version
python -V, get version => line
./scripts/install.sh: line 145: -V: command not found
pip -V, get version => not
./scripts/install.sh: line 147: not: command not found

解释一下,这里是说找不到pip。找不到python,以及pip和python版本不匹配
解决方法:
1.文件管理器》计算机》usr》bin
2.在上方搜索框搜索python查看原有python版本,使用前文推荐的链接下载的iso则会有python2.7和python3.10
3.在上方搜索框搜索pip查看原有pip版本,使用前文推荐的链接下载的iso则会只有pip2
4.因为上述错误是执行python -V和pip -V找不到,但是机器上有python,并且没有与python2.7对应的pip2

sudo ln -s /usr/bin/pip2 /usr/bin/pip

执行命令
sudo ln -s /usr/bin/python2.7 /usr/bin/python


执行命令
sudo bash ./scripts/install.sh

提示
Successfully installed configparser-4.0.2 six-1.16.0
install generator successful!
这里就安装成功

执行命令
./gen

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值