본문 바로가기
블록체인

하이퍼레저 패브릭 v1.4 환경구축

by 매화of사군자 2021. 4. 19.

구성환경

 - Ubuntu 20.04.1

 - Oracle VM VirtualBox

 

  • curl
    • sudo apt-get install curl
  • git
    • sudo apt-get install git
  • docker
    • sudo apt-get update
    • sudo apt-get install apt-transport-https ca-certificates gnupg-agent software-properties-common
    • 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 bionic stable"
    • sudo apt-get update
    • apt-cache policy docker-ce (Install 확인가능)
    • sudo apt-get install docker-ce docker-ce-cli containerd.io
    • docker --version
    • sudo usermod -aG docker $USER
  • docker-compose
    • sudo apt-get install docker-compose
  • python
    • sudo apt-get install python
  • golang( version 1.12.x is required )
    • wget https://storage.googleapis.com/golang/go1.12.5.linux-amd64.tar.gz
    • sudo tar -C /usr/local -xzf go1.12.5.linux-amd64.tar.gz
    • echo 'export PATH=$PATH:/usr/local/go/bin' | sudo tee -a /etc/profile
      echo 'export GOPATH=$PWD/go' | tee -a $HOME/.bashrc
      echo 'export PATH=$PATH:$GOROOT/bin:$GOPATH/bin' | tee -a $HOME/.bashrc
    • sudo reboot
    • go version
  • node, npm
    • curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
    • sudo reboot
    • nvm install 8
    • nvm use 8
    • npm install npm@5.6.0 -g
    • node -v
    • npm -v
  • vscode
    • sudo sh -c' curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/microsoft.gpg'
    • sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
    • sudo apt-get update
    • sudo apt-get install code
  • Hyperledger Fabric v1.4
    • curl -sSL https://bit.ly/2ysbOFE | bash -s -- 1.4.11 1.4.9 0.4.22

'블록체인' 카테고리의 다른 글

이더리움 개발환경 구축  (0) 2021.05.17
이더리움 기본개념  (0) 2021.05.09
블록체인과 속도  (0) 2021.03.26
What is the "Hyperledger Besu"?  (0) 2021.02.02
하이퍼레저 패브릭(Hyperledger Fabric)  (0) 2020.12.26

댓글