- Today
- Total
목록IT일기(하반기) (163)
겉바속촉

remote: Permission to [git 원격저장소] denied to [내 git 계정] fatal: unable to access 'https://github.com/[git 원격저장소]/': The requested URL returned error: 403 구글링 시도로 찾은 방법 1. 자격 증명 추가 아래 일반 자격 증명이 있는데 추가를 누른 뒤 git 주소와 계정 및 암호 입력 후 확인 구글링 시도로 찾은 방법2. url 설정 git remote -v 명령어 입력하면 다음과 같이 목록이 뜰 것 git remote set-url origin https://[내 git 계정]@github.com/[git 원격저장소] 다시 git remote-v 명령어 입력 후 확인 이제 내 git 계정이 ..

지난번 포스팅을 보시면 springboot로 fabric 연동을 위해서 설치하고 이것저것들 설정해서 작업환경 구축했는데요 2020/08/28 - [IT일기/Hyperledger-fabric] - [Hyperledger] 스프링부트로 Fabric 연동하기 [Hyperledger] 스프링부트로 Fabric 연동하기 이번에는 springboot로 fabric 연동을 해보도록 할게요 !^^! 1. SpringToolSuite4.exe 다운/설치 다음 링크로 들어가주세요 https://spring.io/tools Spring Tools 4 is the next generation of Spring tooling La.. 2-juhyun-2.tistory.com 그래서 저는 다음과 같은 상태입니다 ljh.board..

이번에는 springboot로 fabric 연동을 해보도록 할게요 !^^! 1. SpringToolSuite4.exe 다운/설치 다음 링크로 들어가주세요 https://spring.io/tools Spring Tools 4 is the next generation of Spring tooling Largely rebuilt from scratch, Spring Tools 4 provides world-class support for developing Spring-based enterprise applications, whether you prefer Eclipse, Visual Studio Code, or Theia IDE. spring.io 저는 windows이므로 설치 클릭 파일 탐색기에서 다운로드..

1. java c 설치하기 터미널 하나 열었습니다 다음과 같이 명령어를 내렸습니다 java c 그러면 다음과 같이 뜨는데요 설치가 안되어있다고 뜹니다 그래서 apt install openjdk-11-jre-headless 명령을 내려주세요 설치가 진행이 될거에요:) 다 되고 나면 다음과 같이 done 이라고 뜹니다 2. 환경변수 설정 터미널 열어서 설치된 경로 따라서 들어갈게요 그리고 ls로 확인 root@ubuntu:~# cd /usr/lib/jvm/java-11-openjdk-amd64/ root@ubuntu:/usr/lib/jvm/java-11-openjdk-amd64# ls bin conf docs legal lib man release bin 이 있는 것을 확인해주세요~ .bashrc의 vi 편..

겉바속촉은 항상 root에서 시작하기 때문에 대화를 하겠다는 다음과 같은 명령어를 내려주세요cli와 bash 방에서 대화하겠다~ 라는 뜻으로 이해해주시면 되겠습니다 docker exec -it cli bash 설치된 체인코드 있는 지 확인 peer chaincode list --installed 그랬더니 다음과 같이 없다고 뜹니다 Get installed chaincodes on peer: 저는 컨테이너를 내렸다가 시작했기 때문인데요 이제 설치를 해보겠습니다:) peer chaincode install -n fabcar -v 1.0 -l node -p /opt/gopath/src/github.com/fabcar/javascript-low-level/ language로 줄 수 있는 것은 3가지..

지난번에 이어서 해볼게요 2020/08/24 - [IT일기/Hyperledger-fabric] - [Hyperledger] basic network + simple asset chain code [Hyperledger] basic network + simple asset chain code web server programming 1. npm init (🡺package.json이 작성되었음) 2. npm i express 3. npm i -g nodemon 4. public 폴더 생성 --> 하위에 index.html 과 index.jsx 생성 index.html React App.. 2-juhyun-2.tistory.com 이번에는 node와 java를 활용해서 체인코드를 개발해보려고 합니다:) til..

web server programming 1. npm init (🡺package.json이 작성되었음) 2. npm i express 3. npm i -g nodemon 4. public 폴더 생성 --> 하위에 index.html 과 index.jsx 생성 index.html index.jsx var {Component} = React; class Main extends Component{ render(){ return( aaa ); } } ReactDOM.render( , document.getElementById("root") ); 5. server.js 생성 const express=require("express"); const path=require("path"); const app=expres..

이번에는 gedit화면으로 들어가서 메서드를 변경해보도록 할게요 invoke 메서드 부분을!!! send로 고칠게요 query 메서드를!!!! get 메서드로 고쳤습니다 버전 업그레이드 peer chaincode install -n jes_cc_node -v 1.1 -l node -p /opt/gopath/src/github.com/chaincode_example02/node/ upgrade를 하는 이유는 다음과 같습니다 처음에만 instantiate를 해주시면 되는 것이고 그 다음부터는 조금씩 변경되었다면 upgrade를 해주시면 됩니다 다만 많이 변경된 경우에 install을 하는 과정에서 앞자리 숫자를 다르게 주셔야합니다 그리고 upgrade는 동일한 버전을 넣어주시면 됩니다 터미널에서 확인해주었더..

이번에는 Orderer에 대해서 알아보려고 합니다 지난 번 포스팅에서 orderer에 대해 간략하게 봤쥬? 2020/08/13 - [IT일기/Hyperledger-fabric] - [Hyperledger] chain code와 privacy [Hyperledger] chain code와 privacy 현재 겉바속촉이 가지고 있는 chain code는 두가지 입니다 root@59c27e8a8591:/var/hyperledger/production/chaincodes# ls jes.1.0 jes_cc_node.1.0 원장(ledger)은 채널 당 1개씩 있기 때문에 chain code가 아무.. 2-juhyun-2.tistory.com 파일에서 orderer가 어떻게 되어 있는지 살펴보기 위해 yaml파일을..