Create and deploy a block chain network using Hyperledger Fabric SDK for Java on Ubuntu 22.04 LTS
Follow these steps to build your first blockchain network using hyperledger fabric sdk for java.
Step 1: Check if curl is installed.
Command: curl --version
Step 2: Check if docker is installed.
Command: docker --version
Step 3: Check if docker-compose is installed
Command: docker-compose --version
Step 5: Check if go is installed.
Command: go version
Step 6: Check if nodejs is installed.
Command: node –v
Step 7: Check if npm is installed.
Command: npm --version
Step 8: Check if git
is installed.
Command: git --version
Step 4: Check if python is installed.
Command: python3 --version
Step 9: Configure some git properties.
Command: git config --global core.autocrlf false
git config --global core.longpaths true
Step 10: Create a separate directory for particular
preoject.
Command: mkdir MyHyperLedger
Step 11: Change to newly created directory.
Command: cd MyHyperLedger
Step 12: Clone the repository.
Command: curl –sSL http://bit.ly/2ysbOFE
| bash -s 1.4.4
Step 13: Change to fabric-samples/first-network/ directory
Command: cd fabric-samples/ first-network/
Step 14: List out the contents in the file.
Command: ls or ll
Step 15: Generate certificates and Genesis block for
mychannel.
Command: ./byfn.sh generate
Step 16: Build your first network.
Command: ./byfn.sh up –l java
Step 17: Down your network
Command: ./byfn.sh down
Or watch the video to follow the steps:
Great
ReplyDeleteSo after this network creation, how to configure for OA and membership so that we can go about with chaincode deployment for an actual hyperleder fabric application.
ReplyDeleteHi, and Thank you.
ReplyDeleteI'm getting this:
curl –sSL http://bit.ly/2ysbOFE | bash -s 1.4.4
curl: (3) Failed to convert –sSL to ACE; string contains a disallowed character
any hint?
Thanks again