Author

Topic: [Tutorial] Upgrading bitcoin and downloading bootstrap.dat (Read 1836 times)

sr. member
Activity: 434
Merit: 250
Last step should read

sudo apt-get install rtorrent
full member
Activity: 154
Merit: 100
This guide is for ubuntu 12.04 and later


If you are upgrading I assume that you have all the required packages installed on your computer if not install the following packages :

Code:
sudo apt-get install build-essential
sudo apt-get install libtool
sudo apt-get install autotools-dev
sudo apt-get install autoconf
sudo apt-get install libssl-dev
sudo apt-get install libdb4.8-dev
sudo apt-get install libdb4.8++-dev
sudo apt-get install libboost-all-dev
sudo apt-get install libminiupnpc-dev
sudo apt-get install libqrencode-dev


after installing above mentioned packages download berkeley DB 4.8 from the web. Once downloaded cd db-4.8* and configure by following command

Code:
../dist/configure --enable-cxx

then make by running
Code:
make

no navigte to bitcoin folder and run

Code:
./autogen.sh

once completed, configure it by
Code:
./configure
if you get error like "configure: error: Found Berkeley DB other than 4.8, required for portable wallets (--with-incompatible-bdb to ignore) "

run
Code:
./configure --with-incompatible-bdb

then make

Code:
make

now navigate to bitcoin/src folder and run
Code:
make -f makefile.unix

now copy bitcoind into /usr/bin forlder if you already had bitcoin installed this will overwrite the previous bitcoindaemon

now make directory(for fresh installation only) ~/.bitcoin

and create config file bitcoin.conf

Code:
server=1
daemon=1
rpcuser=whatever
rpcpassword=whatever

save it and run bitcoind


To synchronize bitcoin blockchain faster downloaded the blockchain with torrent from sourceforge.net link >> http://sourceforge.net/projects/bitcoin/files/Bitcoin/blockchain/

install rtorrent

Code:
sudo apt-get rtorrent

follow this tutorial to download torrent

once torrent file is downloaded move it to ~/.bitcoin directory. While moving file please be patient as the file is 13gb so it will take some time before your system responds back do not press any key till then. Now restart bitcoind and you are done
Jump to: