Skip to content

Instantly share code, notes, and snippets.

@liushooter
Forked from dizda/install-bitcoind.sh
Created August 16, 2017 15:41
Show Gist options
  • Save liushooter/72cf2e75112c9665639652a0c449bd72 to your computer and use it in GitHub Desktop.
Save liushooter/72cf2e75112c9665639652a0c449bd72 to your computer and use it in GitHub Desktop.
Install bitcoind on debian wheezy
wget https://github.com/bitcoin/bitcoin/archive/v0.9.3.tar.gz
tar xvzf v0.9.3.tar.gz
mv bitcoin-0.9.3/ daemon/
apt-get install build-essential libtool autotools-dev autoconf libssl-dev libboost-all-dev pkg-config
# Get configure
./autogen.sh
# Enable hardening is more secure
# Disable wallet, is the "watch-only" P2P mode
./configure --enable-hardening --disable-wallet
#compile
make
# install binaries into /usr/local/bin/ directory
make install
# Launch in background
bitcoind -datadir=/home/bitcoin/blockchain-backup/ -daemon
# Get progress
bitcoind -datadir=/home/bitcoin/blockchain-backup/ getinfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment