Advertisement
sp3zz1a1

Configure a full Tor Hidden Service Bitcoin node on Ubuntu

Oct 18th, 2015
1,688
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Configure a full Tor Hidden Service Bitcoin node on Debian / Ubuntu
  2. Note: This tutorial assumes that you first configured a Tor relay on your machine. Some steps which you should have followed when doing that are missed here, so please first read how to configure a Tor relay on Debian / Ubuntu and setup a Tor relay, after that get back here to extend to a Tor Hidden Service Bitcoin node on the same server. Disk space requirements continue to grow as time goes by, since the purpose of the blokchain is to archive all transactions.
  3.  
  4. 1.Install dependencies needed for Bitcoin – type as root:
  5. sudo apt-get update && apt-get dist-upgrade -y
  6. sudo apt-get install git automake pkg-config build-essential libtool autotools-dev autoconf libssl-dev libboost-all-dev libdb-dev libdb++-dev -y
  7.  
  8. 2.Make a folder to fetch the Bitcoin source code and build:
  9. mkdir ~/bitcoinsrc && cd ~/bitcoinsrc
  10.  
  11. 3.Get the source code and build:
  12. git clone https://github.com/bitcoin/bitcoin
  13. cd bitcoin
  14. git checkout 0.11
  15.     *Substitute 010 with the latest stable version of Bitcoin core at the time of your setup. Check on Github to    see latest stable branch version. In our example latest stable branch is 0.10.
  16. cd ~/bitcoinsrc/bitcoin
  17. ./autogen.sh
  18. ./configure --disable-wallet --without-gui --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX --with-cli --without-miniupnpc
  19. make
  20. # sudo make install
  21.  
  22. 4.Add an user to run Bitcoin as. In our example this user is called bitnode –type as root:
  23. adduser sp3zz1a1 --disabled-password
  24. sudo adduser sp3zz1a1 sudo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement