Skip to content

Instantly share code, notes, and snippets.

@andreyddk
Forked from dizda/install-bitcoind.sh
Created August 18, 2016 13:59
Show Gist options
  • Save andreyddk/cdd9398f42568141094ee270a746145e to your computer and use it in GitHub Desktop.
Save andreyddk/cdd9398f42568141094ee270a746145e 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