Installation of HyperLedger Fabric on Ubuntu

Posted on Updated on

Installation of Hyperledger Fabric is a few steps process. follow following set of commands for its smooth installation. For detailed description click the link below…

Installing Hyperledger Fabric on Ubuntu

sudo apt-get install curl

sudo apt-get install golang-go

export GOPATH=$HOME/go

export PATH=$PATH:$GOPATH/bin

sudo apt-get install nodejs

sudo apt-get install npm

sudo apt-get install python

sudo apt-get install docker

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

sudo apt-get update

apt-cache policy docker-ce

sudo apt-get install -y docker-ce

sudo apt-get install docker-compose

sudo apt-get upgrade

sudo curl -sSL https://goo.gl/6wtTN5 | sudo bash -s 1.1.0
sudo chmod 777 -R fabric-samples

cd fabric-samples/first-network
sudo ./byfn.sh generate

sudo ./byfn.sh up

sudo ./byfn.sh down

Read description about these command in my post: Installing Hyperledger Fabric on Ubuntu Step by Step