Premise, install docker, curl, go, nodejs, jdk, refer to https://my.oschina.net/u/1760711/blog/1530513
1. Download and run https://github.com/hyperledger/fabric/blob/master/scripts/bootstrap.sh
$ cd ~/dev/hyperledger
$ ./bootstrap.sh
There is a version built into this script, 1.0.4 when I run it.
2. Set the GOPATH to /opt/gopath, because many yamls in the example have written this path, so the following git clone directory should be /opt/gopath/src/github.com/hyperledger/
git clone https://github.com/hyperledger/fabric.git
git clone https://github.com/hyperledger/fabric-ca.git
3. Run e2e test
cd /opt/gopath/src/github.com/hyperledger/fabric/examples/e2e_cli/
./network_setup.sh up