bitcoind debian

Get and Check Checksum
# wget https://bitcoin.org/bin/0.9.1/bitcoin-0.9.1-linux.tar.gz
# chksum=`sha256sum bitcoin-0.9.1-linux.tar.gz | cut -d ' ' -f 1`;
# if [ $chksum == "3fabc1c629007b465a278525883663d41a2ba62699f2773536a8bf59ca210425" ]; then echo 'Checksum OK';fi
Checksum OK




Install Prerequisites
# echo "deb http://ftp.debian.org/debian oldstable main" >> /etc/apt/sources.list
# apt-get update
# apt-get install build-essential libtool autotools-dev autoconf libssl-dev libdb4.8-dev libdb4.8++-dev libboost-all-dev libprotobuf-dev protobuf-compiler pkg-config




Build
# cd bitcoin-0.9.1-linux/src/
# tar xvzf bitcoin-0.9.1.tar.gz
# cd bitcoin-0.9.1/
# ./configure --enable-hardening --disable-wallet --disable-ipv6
# make
# cp src/bitcoind /usr/local/bin
# cp src/bitcoin-cli /usr/local/bin/



If you have the blockchain copy blocks and chainstate to your ~/.bitcoin

Set a .bitcoin/bitcoin.conf eg:
server=1
rpcuser=ulyseus
rpcpassword=doNOTUSEthisPassword
rpcallowip=192.0.2.*
daemon=1
txindex=1



If you copied the blockchain --replaced the ~/.bitcoin/blocks and ~/.bitcoin/chainstate directories start bitcoind with --reindex
$ bitcoind --reindex


else
$ bitcoind


check
$ bitcoind getinfo
{
    "version" : 90100,
    "protocolversion" : 70002,
    "blocks" : 146049,
    "timeoffset" : -73,
    "connections" : 8,
    "proxy" : "",
    "difficulty" : 1755425.32032870,
    "testnet" : false,
    "errors" : ""
}

Great, around 15K more blocks to be up to date