sudo yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils-MakeMaker htop tree vim
wget https://github.com/git/git/archive/v2.3.0.zip
unzip v2.3.0.zip
cd git-2.3.0
make prefix=/usr/local/git all
sudo make prefix=/usr/local/git install
sudo vim /etc/profile
export PATH=/usr/local/git/bin:$PATH
source /etc/profile
git version
golang
wget https://storage.googleapis.com/golang/go1.10.1.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.10.1.linux-amd64.tar.gz
sudo vim /etc/profile
export PATH=$PATH:/usr/local/go/bin
export GOPATH=/opt/gopath
source /etc/profile
go version
fabric sourse code
git clone https://github.com/hyperledger/fabric.git
cd fabric
fabric binary & images
cd fabric/scripts
bootstrap.sh -s
(very slow as Great Firewall,try another way to download)
run e2e_cli
cd fabric/examples/e2e_cli
network_setup.sh up
(release binary to the right dir)
Quick Start of e2e-cli on centos7 (multi machine)
docker-compose -f docker-compose-orderer.yaml up
docker-compose -f docker-compose-peer1.yaml up
docker-compose -f docker-compose-peer2.yaml up
docker-compose -f docker-compose-peer3.yaml up
docker-compose -f docker-compose-peer4.yaml up