I also checked some blogs and found that it can be solved in this way. Record it here.
Cause finding
When building the fabric 1.4.4 environment, bootstrap.sh reported an error and forgot the screenshot. The error should be this course not resolve host: nexus.Hyperledger.Org
the reason is that nexus.hyperledger.org is no longer maintained
analysis bootstrap.Sh
shows that it is the download of binary files, and an error is reported here, You can’t connect and download
and then further analyze the bootstrap.Sh
file. You can see that this file mainly does three things: downloading fabric sample, binary script file and docker image
when downloading binary files, call the binariesinstall function, that is, the function reporting an error in the figure above
Solution:
Found the problem and how to solve it
that is, modify the bootstrap.H
file to automatically download fabric sample and docker images, manually download binary script files, and then upload them to the specified path
step1 modify the bootstrap.H
file
comment download the binary file module
and then execute ./bootstrap. Sh
, there may be an error when downloading the image
I don’t know the specific reason, but just pull it manually. It’s not a big problem
Pull first and then add tags
docker pull hyperledger/fabric-peer:1.4.4
docker image tag hyperledger/fabric-peer:1.4.4 hyperledger/fabric-peer:latest
Step 2 download binary files
the download path is as follows
https://github.com/hyperledger/fabric/releases/download/v1.4.4/hyperledger-fabric-linux-amd64-1.4.4.tar.gz
https://github.com/hyperledger/fabric-ca/releases/download/v1.4.4/hyperledger-fabric-ca-linux-amd64-1.4.4.tar.gz
if you don’t surf the Internet scientifically, The download speed will be very slow. Here I also uploaded resources. You can download
upload the downloaded files to the /fabric/scripts/fabric samples/first network/
folder and unzip them
tar -xzvf hyperledger-fabric-linux-amd64-1.4.4.tar.gz
tar -xzvf hyperledger-fabric-ca-linux-amd64-1.4.4.tar.gz
In fact, there seems to be another solution. I haven’t tried. Please refer to this blog: Ubuntu 18.04 configuring hyperledger fabric 1.4.4 environment (basic)
Read More:
- How to Solve hadoop3.x.x sh start-dfs.sh Startup Error
- [Solved] Fabric 2.x: error starting container: API error (404): network_test not found
- How to Solve Yarn environment installation dependency error: (info [email protected])
- .sh error: ***.sh: 2: set: Illegal option – Solution
- How to Configure OpenFPGA Environment (Probable Errors & Their Solutions)
- [Solved] Fabric_sdk_go:QueryBlockConfig failed: QueryBlockConfig failed: target(s) required
- [Solved] Elasticsearch 7.10 Startup Error: bootstrap checks failed
- [Solved] ElasticSearch startup error: bootstrap checks failed
- How to Solve Docker failed to initialize Error
- How to Solve m_gshhs_i Error
- How to Solve Git Error: error: failed to push some refs to……
- How to Solve kubelet starts error (k8s Cluster Restarted)
- Kill Tomcat process in windows and Linux environment (solve the problem of other ports being occupied)
- How to Solve cocos2dx msb3073 Error
- How to Solve elasticsearch-7.15.1 operation errors
- How to Solve Maven Error: Return code is: 501 , ReasonPhrase:HTTPS Required.
- VScode: How to Solve golong plug-in install Error
- How to Solve [error] malformed \uxxxx encoding Error
- How to Solve Project Upgrade to flutter2.5.0 Error
- Some problems encountered in the initial construction of Ant Design Pro project, such as cross Env, webpack and so on