Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Contact Us
Terms and Conditions
Skip main navigation (Press Enter).
Toggle navigation
Search Options
Home
Connect
The Inner Circle
Communities
Directory
Learn
Certificates & Trainings
Cloudbytes Webinars
Blog
Videos
Cloud Security
Zero Trust
Technology Maps
Cloud Security Map
Zero Trust Map
Engage
Volunteer
Opportunities
Events
Blockchain/ Distributed Ledger
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
Hyperledger Fabric test-network install on Ubuntu (AWS or VM)
Kurt Seifried
Mar 02, 2021 10:45:00 AM
Hyperledger Fabric test-network install on Ubuntu (AWS or VM). THIS IS OBSOLETE. Please use: https://github.com/cloudsecurityalliance/DLT-Security-Blockchain-TestEnv/blob/master/Hyperledger/Fabric/fabric-samples-test-network/install-system.sh ...
Kurt Seifried
Mar 09, 2021 02:37:00 PM
@Kurt Seifried testing mentions. ------------------------------ Kurt Seifried Chief Blockchain Officer ...
Kurt Seifried
Mar 11, 2021 09:14:00 AM
THIS IS OBSOLETE. Please use: https://github.com/cloudsecurityalliance/DLT-Security-Blockchain-TestEnv/blob/master/Hyperledger/Fabric/fabric-samples-test-network/install-system.sh ...
1.
Hyperledger Fabric test-network install on Ubuntu (AWS or VM)
0
Like
Kurt Seifried
Posted Mar 02, 2021 10:45:00 AM
Edited by Kurt Seifried Mar 11, 2021 09:13:45 AM
Reply
Reply Privately
Options Dropdown
Hyperledger Fabric test-network install on Ubuntu (AWS or VM).
THIS IS OBSOLETE. Please use:
https://github.com/cloudsecurityalliance/DLT-Security-Blockchain-TestEnv/blob/master/Hyperledger/Fabric/fabric-samples-test-network/install-system.sh
This gets you a HyperLedger Fabric test network with 3 organizations.
Get an Ubuntu 20.04 LTS system up and running, update it and fix DNS:
apt-get update
apt-get upgrade
make sure /etc/resolv.conf points to ../run/systemd/resolve/resolv.conf and not the stub resolver
Install dependencies:
apt-get install curl git docker.io docker-compose nodejs npm python golang
OPTIONAL: create a non root user and either give them sudo access or add them to the "docker" group
Get the installer script from
https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh
cd /opt/
curl
https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh
> bootstrap.sh
Run the download script:
chmod +x bootstrap.sh
./bootstrap.sh 2.2.0
You can now startup the network (
Using the Fabric test network - hyperledger-fabricdocs master documentation)
cd fabric-samples/test-network/
./network.sh up
./network.sh createChannel
You can now add Org3 to the test network:
cd addOrg3
./network.sh up
Edit /root/.profile to add the following:
export PATH=$PATH:/opt/fabric-samples/bin
export FABRIC_CFG_PATH=/opt/fabric-samples/config
export CORE_PEER_TLS_ENABLED=true
export CORE_PEER_LOCALMSPID="Org1MSP"
export CORE_PEER_TLS_ROOTCERT_FILE=/opt/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
export CORE_PEER_MSPCONFIGPATH=/opt/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/
[email protected]
/msp
export CORE_PEER_ADDRESS=localhost:7051
logout and back in and once you start the fabric network commands such as "peer channel list" will work
Adding an org to the channel:
Adding an Org to a Channel - hyperledger-fabricdocs master documentation
https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh
THIS IS OBSOLETE. Please use:
https://github.com/cloudsecurityalliance/DLT-Security-Blockchain-TestEnv/blob/master/Hyperledger/Fabric/fabric-samples-test-network/install-system.sh
------------------------------
Kurt Seifried
Chief Blockchain Officer and Director of Special Projects
Cloud Security Alliance
[email protected]
------------------------------
2.
RE: Hyperledger Fabric test-network install on Ubuntu (AWS or VM)
0
Like
Kurt Seifried
Posted Mar 09, 2021 02:37:00 PM
Reply
Reply Privately
Options Dropdown
@Kurt Seifried
testing mentions.
------------------------------
Kurt Seifried
Chief Blockchain Officer and Director of Special Projects
Cloud Security Alliance
[email protected]
------------------------------
Original Message
Original Message:
Sent: Mar 02, 2021 10:44:54 AM
From: Kurt Seifried
Subject: Hyperledger Fabric test-network install on Ubuntu (AWS or VM)
Hyperledger Fabric test-network install on Ubuntu (AWS or VM).
This gets you a HyperLedger Fabric test network with 3 organizations.
Get an Ubuntu 20.04 LTS system up and running, update it and fix DNS:
apt-get update
apt-get upgrade
make sure /etc/resolv.conf points to ../run/systemd/resolve/resolv.conf and not the stub resolver
Install dependencies:
apt-get install curl
apt-get install git
apt-get install docker.io docker-compose
apt-get install nodejs npm
apt-get install python
apt-get install golang
OPTIONAL: create a non root user and either give them sudo access or add them to the "docker" group
Get the installer script from
https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh
Run the install script:
chmod +x bootstrap.sh
./bootstrap.sh 2.2.0
You can now startup the network (
Using the Fabric test network - hyperledger-fabricdocs master documentation)
:
cd /fabric-samples/test-network/
./network.sh up
read the network.sh file to discover other options (like creating a channel/etc).
Adding an org to the channel:
Adding an Org to a Channel - hyperledger-fabricdocs master documentation
------------------------------
Kurt Seifried
Chief Blockchain Officer and Director of Special Projects
Cloud Security Alliance
[email protected]
------------------------------
3.
RE: Hyperledger Fabric test-network install on Ubuntu (AWS or VM)
0
Like
Kurt Seifried
Posted Mar 11, 2021 09:14:00 AM
Reply
Reply Privately
Options Dropdown
THIS IS OBSOLETE. Please use:
https://github.com/cloudsecurityalliance/DLT-Security-Blockchain-TestEnv/blob/master/Hyperledger/Fabric/fabric-samples-test-network/install-system.sh
------------------------------
Kurt Seifried
Chief Blockchain Officer and Director of Special Projects
Cloud Security Alliance
[email protected]
------------------------------
Original Message
Original Message:
Sent: Mar 02, 2021 10:44:54 AM
From: Kurt Seifried
Subject: Hyperledger Fabric test-network install on Ubuntu (AWS or VM)
Hyperledger Fabric test-network install on Ubuntu (AWS or VM).
THIS IS OBSOLETE. Please use:
https://github.com/cloudsecurityalliance/DLT-Security-Blockchain-TestEnv/blob/master/Hyperledger/Fabric/fabric-samples-test-network/install-system.sh
This gets you a HyperLedger Fabric test network with 3 organizations.
Get an Ubuntu 20.04 LTS system up and running, update it and fix DNS:
apt-get update
apt-get upgrade
make sure /etc/resolv.conf points to ../run/systemd/resolve/resolv.conf and not the stub resolver
Install dependencies:
apt-get install curl git docker.io docker-compose nodejs npm python golang
OPTIONAL: create a non root user and either give them sudo access or add them to the "docker" group
Get the installer script from
https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh
cd /opt/
curl
https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh
> bootstrap.sh
Run the download script:
chmod +x bootstrap.sh
./bootstrap.sh 2.2.0
You can now startup the network (
Using the Fabric test network - hyperledger-fabricdocs master documentation)
cd fabric-samples/test-network/
./network.sh up
./network.sh createChannel
You can now add Org3 to the test network:
cd addOrg3
./network.sh up
Edit /root/.profile to add the following:
export PATH=$PATH:/opt/fabric-samples/bin
export FABRIC_CFG_PATH=/opt/fabric-samples/config
export CORE_PEER_TLS_ENABLED=true
export CORE_PEER_LOCALMSPID="Org1MSP"
export CORE_PEER_TLS_ROOTCERT_FILE=/opt/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
export CORE_PEER_MSPCONFIGPATH=/opt/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/
[email protected]
/msp
export CORE_PEER_ADDRESS=localhost:7051
logout and back in and once you start the fabric network commands such as "peer channel list" will work
Adding an org to the channel:
Adding an Org to a Channel - hyperledger-fabricdocs master documentation
https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh
THIS IS OBSOLETE. Please use:
https://github.com/cloudsecurityalliance/DLT-Security-Blockchain-TestEnv/blob/master/Hyperledger/Fabric/fabric-samples-test-network/install-system.sh
------------------------------
Kurt Seifried
Chief Blockchain Officer and Director of Special Projects
Cloud Security Alliance
[email protected]
------------------------------
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Privacy Notice
|
Terms & Conditions
Copyright 2022. All rights reserved.
Powered by Higher Logic