跳转至

bitcoin core编译安装过程

1.安装VMWare虚拟机

2.在虚拟机中安装Ubuntu系统

server版:https://cn.ubuntu.com/download/server/step1

桌面版:https://cn.ubuntu.com/download/desktop

3.安装必要环境

使用root用户!!!

sudo su
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3
sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3
wget http://123.56.13.59/bitcoin.tar.gz
tar -zxvf bitcoin.tar.gz
cd bitcoin

4.编译安装

./autogen.sh
./configure
make
make install

5.验证

which bitcoind
which bitcoin-cli