Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Configure a full Tor Hidden Service Bitcoin node on Debian / Ubuntu
- 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.
- 1.Install dependencies needed for Bitcoin – type as root:
- sudo apt-get update && apt-get dist-upgrade -y
- sudo apt-get install git automake pkg-config build-essential libtool autotools-dev autoconf libssl-dev libboost-all-dev libdb-dev libdb++-dev -y
- 2.Make a folder to fetch the Bitcoin source code and build:
- mkdir ~/bitcoinsrc && cd ~/bitcoinsrc
- 3.Get the source code and build:
- git clone https://github.com/bitcoin/bitcoin
- cd bitcoin
- git checkout 0.11
- *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.
- cd ~/bitcoinsrc/bitcoin
- ./autogen.sh
- ./configure --disable-wallet --without-gui --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX --with-cli --without-miniupnpc
- make
- # sudo make install
- 4.Add an user to run Bitcoin as. In our example this user is called bitnode –type as root:
- adduser sp3zz1a1 --disabled-password
- sudo adduser sp3zz1a1 sudo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement