[Bitcoin] Full Node 설치 방법steemCreated with Sketch.

Bitcoin Full Node 설정 방법에 대해서 알아봅니다.

설치 한 곳은 Ubuntu 20.04 입니다.

Storage는 최소 200G 정도 되어야 합니다.


// update the OS
sudo apt-get update

// Bitcoin Repository
git clone https://github.com/bitcoin/bitcoin.git

// Install Libraries
// 설치 할 것들이 많고 시간도 꽤나 걸립니다.
sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 libevent-dev

sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-test-dev libboost-thread-dev

sudo apt-get install libsqlite3-dev

sudo apt-get install libminiupnpc-dev

sudo apt-get install libzmq3-dev

sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools

sudo apt-get install libqrencode-dev

// branch 버전 선택
git checkout tags/v0.21.1


// Install the Berkeley DB:
./contrib/install_db4.sh `pwd`

// 추가 실행 명령어
./autogen.sh

// BDB_PREFIX 설정(자신이 설치한 경로/db4로 설정)
// happyberrysboy 대신 본인 서버의 경로
export BDB_PREFIX='/home/happyberrysboy/bitcoin/db4'

// 추가 실행명령어
./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include"

// compile and install bitcoin
make
sudo make install

// bitcoin.conf 파일 생성
// 보통은 ~/.bitcoin 에 bitcoin 관련 폴더가 생성 되어 있을 것입니다.
cd ~/.bitcoin
nano bitcoin.conf

// bitcoin.conf 내용
# Needed for full validation
assumevalid=0
# Improves LND performance
# Needs to be set now if you're going to install Lightning later
txindex=1
# Not needed, but will show us useful info later in the tutorial
debug=net

// bitcoin node 실행(&로 백그라운드로 실행)
bitcoind &

참조 사이트 : https://stopanddecrypt.medium.com/a-complete-beginners-guide-to-installing-a-bitcoin-full-node-on-linux-2021-edition-46bf20fbe8ff

Sort:  

[광고] STEEM 개발자 커뮤니티에 참여 하시면, 다양한 혜택을 받을 수 있습니다.

[by @happyberrysboy] [Bitcoin] Full Node 설치 방법
https://www.steemit.com/@kr-dev.cu0/happyberrysboy-posting-2023-01-13-20-43

@kr-dev.cu0님이 당신을 멘션하였습니다.
멘션을 받고 싶거나 받지 않으시려면 댓글을 남겨주세요. 빠른 시일내에 반영하도록 하겠습니다.

This post has been upvoted by @italygame witness curation trail


If you like our work and want to support us, please consider to approve our witness




CLICK HERE 👇

Come and visit Italy Community



랜덤추천작가와 관심작가(2023-01-14)
https://www.steemit.com/@veryhappyday/-2023-01-14

@veryhappyday님이 당신을 멘션하였습니다.
멘션을 받고 싶거나 받지 않으시려면 댓글을 남겨주세요. 빠른 시일내에 반영하도록 하겠습니다.

해적 코인(PIR) 재단 재정 상황 5/19 (2023)
https://www.steemit.com/@pircoin/pir-5-19-2023

@pircoin님이 당신을 멘션하였습니다.
멘션을 받고 싶거나 받지 않으시려면 댓글을 남겨주세요. 빠른 시일내에 반영하도록 하겠습니다.

The Steem News @ 18 May 2023 : Engagement Challenge Season 10 - Applications invited...
https://www.steemit.com/@pennsif/the-steem-news-18-may-2023-engagement-challenge-season-10-applications-invited

@pennsif님이 당신을 멘션하였습니다.
멘션을 받고 싶거나 받지 않으시려면 댓글을 남겨주세요. 빠른 시일내에 반영하도록 하겠습니다.

Coin Marketplace

STEEM 0.27
TRX 0.13
JST 0.032
BTC 62622.67
ETH 2944.91
USDT 1.00
SBD 3.61