[๋ธ๋ก์ฒด์ธ] Hyperledger Besu ํ๊ฒฝ ์ค์ (CentOS 7)
1. ์์ ํ๊ฒฝ ๊ตฌ์ฑ : CentOS 7
VirtualBox์ Linux CentOS 7 ์ค์น (+์ธ๋ถ IP ์ค์ ๊น์ง)
- ์ฌ์ ์ค๋น 1. VitualBox ์ค์น https://www.virtualbox.org/wiki/Download_Old_Builds_5_2 Download_Old_Builds_5_2 – Oracle VM VirtualBox Download VirtualBox (Old Builds): VirtualBox 5.2 The Extension Pa..
xxsiyoung.tistory.com
ํ์ฌ์์ ์ฌ์ฉํ๊ณ ์๋ค๋ฉด, ์ ๊ธ์ฒ๋ผ Virtual Box์ ๋คํธ์ํฌ ์ค์ ์ ๋ธ๋ฆฌ์ง ์ด๋ํฐ๋ก ์ค์ ์ ๋ฌธ์ ๊ฐ ์์ ์ ์๋ค. ๋๋ NAT ๋คํธ์ํฌ๋ก ์ค์ ํ์ฌ ์ด์ฉํ๊ธฐ๋ก ํ๋ค. Virtual Box ๋คํธ์ํฌ ์๋ฆฌ/์ค์ ๊ด๋ จ ์๋ ๋ ๊ฐ ๋งํฌ ์ฐธ๊ณ .
[VM] VirtualBox ๋คํธ์ํฌ ์ค์ ์์ธ ๋ถ์
๋ณธ ํฌ์คํธ๋ https://technology.amis.nl/2018/07/27/virtualbox-networking-explained๋ฅผ ๋ฒ์ญ & ๊ฐ๊ณตํ์์ต๋๋ค. 1. ์๋ก 2. ๋คํธ์ํฌ ์ต์ 2.1 ๋ด๋ถ ๋คํธ์ํฌ 2.2 NAT 2.3 NAT ๋คํธ์ํฌ 2.4 ํธ์คํธ ์ ์ฉ ์ด๋ํฐ..
cjwoov.tistory.com
VirtualBox, ๊ฐ์ ๋คํธ์ํฌ ์ค์ ํ๊ธฐ
VirtualBox์ OS๋ฅผ ์ค์นํ๊ณ Network์ด ๋๋์ง ํ์ธํด ๋ณด๋ฉด ์ผ๋ฐ์ ์ผ๋ก ๋ณ ํ ์์ด ์ ๋๊ณคํ๋ค. ์ ๋๋๊น ๋ณ๋ค๋ฅด๊ฒ ์ ๊ฒฝ์ฐ๋ ์ผ์ด ์๋ ๊ฒ์ด ์ฌ์ค์ด๋ค. ๋คํธ์ํฌ์ ๊ด๋ จ๋ ์์ ์ ํ์ง ์๋ ์ด์ ๋ณ
technote.kr
2. ์์ ํ๊ฒฝ ๊ตฌ์ฑ : Docker, Docker-compose
๊ฐ์๋จธ์ ์ผ๋ก CentOS๋ฅผ ์๋์ ๊น๊ณ ์ฌ๊ธฐ์ Docker๋ฅผ ๋ ์ฌ๋ฆฌ๋ ๊ฒ์, ์ค์ CentOS ์๋ฒ์ Docker๋ฅผ ์ฌ๋ ค์ ์คํํ์ ๋๋ฅผ ๊ฒ์ฆํ๊ธฐ ์ํ ์ด์ ์ด๋ค. CentOS์ Docker๋ฅผ ์ค์นํ๋ Document๊ฐ ๊ณต์ ํํ์ด์ง์ ์๋ค.
(ํจํค์ง๋ก ๊น๋ ค๋ค๊ฐ ์ค๋ฅ๊ฐ ๋ฐ์ํ๋ค-๋ฆฌํฌ์งํ ๋ฆฌ๋ฅผ ์ด์ฉํ ๋ฐฉ๋ฒ์ด ๊น๋ํ ๋ฏํ๋ค.)
Install Docker Engine on CentOS
docs.docker.com
Install Docker Compose
docs.docker.com
3. ์์ ํ๊ฒฝ ๊ตฌ์ฑ : Node.js ์ค์น
์ฐจ๋ก๋๋ก! Hyperledger Besu๋ ๋์ปค ์ด๋ฏธ์ง๋ก ์ฌ๋ฆด๊ฑฐ๋๊น ์ด์ ์ค๋น ๋์ด๋ค.
sudo yum -y install curl
curl -sL https://rpm.nodesource.com/setup_14.x | sudo bash -
sudo yum install -y nodejs