a

[블록체인] 프라이빗네트워크 생성

박은성/ 2022. 4. 8. 20:58
반응형

노트북에서 하는 것도 좋은데 일단 구글 크롬 깔아서 메타마스크 구글 익스텐션을 설치해야 한다.

귀찮다.

 

[설치]

1. VM 설치

2. 우분투 설치

3. git 설치

4. go 설치

5. 메타마스크 / 크롬 설치

 

 

 

1. go-ethereum 레포지토리 git clone

 

3. golang 설치

를 해야하는데 맥에서는 apt 가 안되고 brew로 **해야 한다고 해서 

brew install build-essential golang

이걸로 설치해 준다. 

 

-- brew 설치하는 법은 여기에

https://stackoverflow.com/questions/66267454/jdk-is-installed-on-mac-but-im-getting-the-operation-couldn-t-be-completed-un

 

JDK is installed on mac but i'm getting "The operation couldn’t be completed. Unable to locate a Java Runtime that supports ap

I'm trying to run the command sudo apt update on my terminal in MacOS I'm getting this message in response: The operation couldn’t be completed. Unable to locate a Java Runtime that supports apt. P...

stackoverflow.com

 

HOMEBREW_PREFIX: /usr/local

prefix가 /usr/local이 아닌 경우, 설치가 안되므로 확인하길. 다른 값으로 저장돼 있을 경우

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"

삭제를 하고 다시 깔아야 한다. 다시 깔기 전에 꼭 /usr/local/ 폴더에서 Homebrew를 지워야 한다.

 

 

brew update
brew install golang        

build-essential이 안된다고 자꾸,,,,그래서 golang 만 했다.

 

https://tars.tistory.com/53

 

4. build

 make all    

 

 

 

5. 환경변수 설정

 

반응형