🍊
Orange Pill
BitcoinLightningNostr
Bitcoin
Bitcoin
  • 비트코인 - Bitcoin FAQ
    • 개요 - Intro
      • 결제 - Payment
      • 저축 - Savings
      • 돈 - Money
      • 가격 - Price
      • 거래 - Transactions
      • 생태계 - Ecosystem
      • 위험 - Risk
      • 채굴 - Mining
    • 키워드 - Keywords
      • Section 1
      • Section 2
      • Section 3
      • Section 4
      • Section 5
      • Section 6
      • Section 7
    • 셀프 커스터디 - Self-custody
      • 지갑과 니모닉 - Wallet & Mnemonic
      • 절차 - Process
      • 주소 - Address
      • 보안 - Security
      • 보내기 - Send
      • 받기 - Receive
      • 트랜잭션 - Tx
  • 블록 사이즈 워 - The Blocksize War
    • Chapter 1 – First Strike
    • Chapter 2 – March To War
    • Chapter 3 – Scaling I – Montreal
    • Chapter 4 – Scaling II – Hong Kong
    • Chapter 5 – SegWit
    • Chapter 6 – Lightning Network
    • Chapter 7 – Bitcoin Classic
    • Chapter 8 – Hong Kong Roundtable
    • Chapter 9 – Faketoshi
    • Chapter 10 – The DAO
    • Chapter 11 – Scaling III – Milan
    • Chapter 12 – Bitcoin Unlimited
    • Chapter 13 – Exchanges
    • Chapter 14 – ASICBoost
    • Chapter 15 – Dragons’ Den
    • Chapter 16 – Litecoin
    • Chapter 17 – User-Activated Softfork
    • Chapter 18 – New York Agreement
    • Chapter 19 – Bitcoin Cash
    • Chapter 20 – SegWit2x
    • Chapter 21 – Victory
  • 사토시와 시리우스의 이메일 - Satoshi - Sirius emails (2009-2011)
    • Email #1 - #100
      • Email #1 - #20
      • Email #21 - #40
      • Email #41 - #60
      • Email #61 - #80
      • Email #81 - #100
    • Email #101 - #200
      • Email #101 - #120
      • Email #121 - #140
      • Email #141 - #160
      • Email #161 - #180
      • Email #181 - #200
    • Email #201 - #260(The End)
      • Email #201 - #220
      • Email #221 - #240
      • Email #241 - #260
  • 오드로이드 풀노드 - Odroid full node
    • 준비 - Ready
    • 구입 - Purchase
    • 준비물 - Preparation
    • 구성 - Config
    • 리눅스 명령어 - Commands
    • 설치화면 - Step (1)
    • 리눅스 설치 - Step (2)
    • 엄브렐 설치 - Step (3)
    • 비트코인 코어 설치 - Step (4)
    • 추가 - Optional
    • 원격 접속 - ssh
    • 원격 조작 - Tailscale
  • 비트코인 코어 활용 - Bitcoin Core
    • 우분투 서버에 설치 - in Ubuntu Server
    • 우분투 데스크톱에 설치 - in Ubuntu Desktop
    • 일렉트럼엑스 설치 - ElectrumX
  • 적립식 매수 - DCA
    • 자동 매수 - Auto DCA
  • 지갑 - Wallet
    • 종류 - Type
      • 하드지갑 - Hardwallet
      • 소프트지갑 - Softwallet
    • 니모닉 보관 - Mnemonic
    • 지갑 연결 - Connecting a wallet
      • 일렉트라 서버 설치 - Electrs
      • 스패로우 설정 - Sparrow
      • 일렉트럼 설정 - Electrum
      • 모바일 일렉트럼 - Mobile Electrum
      • 블루 - Blue
  • 기타 - ETC
    • 학습자료 - Learning resources
      • 백서 - Whitepaper
      • 도서 - Books
      • 강의 - Lectures
      • 유튜브 - Youtube
      • 웹사이트 - Sites
    • 비트코인 지원 상점 - BTC Store
      • 오프라인 - BTC Payment
      • 온라인 - BTC online
    • 비트코인 쇼핑몰 - BTC Shop
    • 기여 - Contributions
  • 📺오렌지필 네이버 블로그
  • 🛍️NSBB 쇼핑몰
Powered by GitBook
On this page
  • 비트코인 코어 설치
  • 명령어 모음
  • 참고 자료
  1. 비트코인 코어 활용 - Bitcoin Core

우분투 서버에 설치 - in Ubuntu Server

비트코인 코어 설치

우분투 서버 버전 설치 후 아래의 명령어를 순차적으로 입력하면 비트코인 코어를 설치할 수 있습니다. 설치 중간에 설치할 것인지 여부를 물어보는 화면이 나오면 Y 입력 후 엔터를 치면 됩니다.

명령어 모음

# 패키지 업데이트
sudo apt update

# 나노 에디터 설치
sudo apt install nano

# 비트코인 코어 빌드를 위해필요한 항목들 일괄설치
sudo apt install git build-essential libtool autotools-dev automake pkg-config bsdmainutils python3

# 비트코인 코어 설치를 위해 필요한 항목들 일괄설치
sudo apt install libevent-dev libboost-system-dev libboost-filesystem-dev libboost-test-dev libboost-thread-dev

# 비트코인 블록 저장을 위한 라이브러리 설치
sudo apt install libdb-dev libdb++-dev

# 옵션1: upnpc
sudo apt install libminiupnpc-dev

# 옵션2: ZMQ
sudo apt install libzmq3-dev

# 그래픽 인터페이스
sudo apt install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools

# 큐알코드 지원
sudo apt install libqrencode-dev

# 풀노드 디렉토리 만들기
mkdir fullnode

# 풀노드 디렉토리로 이동
cd fullnode

# 깃 저장소에서 비트코인 복제
git clone https://github.com/bitcoin/bitcoin.git

# 복제한 디렉토리로 이동
cd bitcoin

# 설정을 위한 환경 생성
./autogen.sh

# 환경 변수 설정
./configure --with-incompatible-bdb CXXFLAGS="-O2"

# 비트코인 소스로부터 설치 파일 만들기(시간 오래 걸림)
make

# 비트코인 코어 설치(경로 : /usr/local/bin)
sudo make install

# 비트코인 코어 설치 버전 확인
bitcoind --version

# bitcoin.conf 파일 만들기 위해 비트코인 설치된 폴더로 이동
cd ~/.bitcoin

# bitcoin.conf 파일 만들기
sudo nano bitcoin.conf

# conf 내용 넣고 저장 후 닫기
server=1
daemon=1
rpcbind=0.0.0.0
rpcuser='satoshi'
rpcpassword='nakamoto'
rpcallowip=0.0.0.0/0

# 비트코인 코어 실행
bitcoind

# 비트코인 코어 중지
bitcoin-cli stop

비트코인 코어를 실행하면 동기화를 진행합니다. 이렇게 유지하면 동기화가 완료되면서 풀노드가 됩니다.

참고 자료

Previous비트코인 코어 활용 - Bitcoin CoreNext우분투 데스크톱에 설치 - in Ubuntu Desktop

Last updated 1 year ago

Bitcoin CLI JSON RPC API Call reference – ChainQuery
Logo
Build Bitcoin Core in Ubuntu | Dev Notes
Logo
How to Install and Setup Bitcoin Core on Ubuntu 20.04 LTS | CyberITHubCyberITHub
비트코인 코어(Bitcoin Core) 설치, Bitcoin.conf 설정
Logo
Logo