Open sungkwangsong opened 4 years ago
$GOPATH
디렉토리 밑에 fabric 받을 디렉토리 생성하기
mkdir -p $GOOPATH/src/hyperledger
git clone -b release-1.1 --depth=1 https://github.com/hyperledger/fabric.git
bootstrap.sh
파일로 설치
$GOPATH/src/hyperledger/fabric/scripts/bootstrap.sh
bootstrap.sh
실행후 hyperledger/fabric 관련 docker 이미지 모두 설치 됨
hyperledger/fabric-ca x86_64-1.1.0 72617b4fa9b4 23 months ago 299MB
hyperledger/fabric-tools latest b7bfddf508bc 23 months ago 1.46GB
hyperledger/fabric-tools x86_64-1.1.0 b7bfddf508bc 23 months ago 1.46GB
hyperledger/fabric-orderer latest ce0c810df36a 23 months ago 180MB
hyperledger/fabric-orderer x86_64-1.1.0 ce0c810df36a 23 months ago 180MB
hyperledger/fabric-peer latest b023f9be0771 23 months ago 187MB
hyperledger/fabric-peer x86_64-1.1.0 b023f9be0771 23 months ago 187MB
hyperledger/fabric-javaenv latest 82098abb1a17 23 months ago 1.52GB
hyperledger/fabric-javaenv x86_64-1.1.0 82098abb1a17 23 months ago 1.52GB
hyperledger/fabric-ccenv latest c8b4909d8d46 23 months ago 1.39GB
hyperledger/fabric-ccenv x86_64-1.1.0 c8b4909d8d46 23 months ago 1.39GB
hyperledger/fabric-zookeeper latest 92cbb952b6f8 2 years ago 1.39GB
hyperledger/fabric-zookeeper x86_64-0.4.6 92cbb952b6f8 2 years ago 1.39GB
hyperledger/fabric-kafka latest 554c591b86a8 2 years ago 1.4GB
hyperledger/fabric-kafka x86_64-0.4.6 554c591b86a8 2 years ago 1.4GB
hyperledger/fabric-couchdb latest 7e73c828fc5b 2 years ago 1.56GB
hyperledger/fabric-couchdb x86_64-0.4.6 7e73c828fc5b 2 years ago 1.56GB
[한빛미디어, 하이퍼레저 블록체인 개발 (패브릭과 컴포저로 탈중앙화 앱 dApp 만들기)] 책 구매 후(http://www.hanbit.co.kr/media/books/book_view.html?p_code=B4172582620)
예제 실습하기 위해서 책에서 설명하는대로 fabric v1.1 다운 받아서 make docker 명령어 싫행하면 에러가 발생해서 예제를 하나도 진행하지 못하는 문제 발생.
네트워크 준비
네트워크 암호화 자료를 생성하기 전에 다음 단계를 수행해야 한다.
make docker
실행make docker
실행할 때 nexus.hyperledger.org 를 찾지 못하는 문제가 발생한다.