apt update apt upgrade apt install build-essential autoconf libssl-dev libboost-dev libboost-chrono-dev libboost-filesystem-dev libboost-program-options-dev libboost-system-dev libboost-test-dev libboost-thread-dev libevent-dev git libtool pkg-configThe next one is a bit more annoying. We need Berkeley DB 4.8, and it's a little old. It's packages are in the Debian Squeeze archives, so in the /etc/apt/sources.list file, we need to add :
deb http://archive.debian.org/debian/ squeeze mainThen remember to update again, and install the thing :
apt install libdb4.8++-dev libdb4.8-devIf you intend to also throw on xorg and a UI, you will want Qt as well. Otherwise skip this last step.
install libqt4-dev libprotobuf-dev protobuf-compiler libqrencode-devStep III. - Build time
#Starting from /home/yourUser git clone https://github.com/UASF/bitcoin.git -b 0.14-BIP148 cd bitcoin ./autogen.sh ./configure make make installThat's it! Well, mostly. Start it with
bitcoind -daemon -disablewallet -datadir=/whereveyou/want/youblockchain...and wait about thirty hours to sync with the network. You may want to visit the /whereveyou/want/youblockchain directory and create a permanent bitcoin.conf in there. To enable RPC calls to the server and get it to accept bitcoin-cli commands you'll want to use it to create a usepassword and copy that to your user's /.bitcoin/bitcoin.conf.
daemon=1 listen=1 disablewallet=1 server=1 rpcuser=bob rpcpassword=bob's passwordSecurity I recommend you disable password login and use private key authentication only on ssh, and also restrict iptables rules to the bare minimum that must be allowed for this application. You will need this in your iptables script :
# Allows BITCOIN traffic from anywhere -A INPUT -p tcp --dport 8333 -j ACCEPT # Allows RPC calls to the bitcoin server from localhost -A INPUT -p tcp -s 127.0.0.1 --dport 8332 -j ACCEPTUseful ressources :
For bitcoin-core For bitcoin-qt (graphical interface) Installing Berkeley DB 4.8 1.Change the sources.list to use squeeze repositories 2.Now you can install Berkeley DB version 4.8 (libdb4.8) Downloading and Compiling Bitcoin Core Configure the system for compilation Compile Installing and Running Bitcoin Core Extra Do you want to use Bitcoin Compile. make. Installing and Running Bitcoin Core. make install. After that, you will be able to run Bitcoin Core by typing: bitcoind (the text based backend) bitcoin-qt (the graphical frontend) bitcoin-cli (the command-line client) Extra. Some useful command lines : To start bitcoin server as daemon : bitcoind -daemon. To get a list of Compile make Installing and Running Bitcoin Core make install. After that, you will be able to run Bitcoin Core by typing: bitcoind (the text based backend) bitcoin-qt (the graphical frontend) bitcoin-cli (the command-line client) Extra. Some useful command lines : To start bitcoin server as daemon : bitcoind -daemon. To get a list of accounts Debian-based (Ubuntu, Raspbian, PiBang, others) Note for Debian Squeeze (6.0) users: Debian Squeeze does not offer packages (like Python, OpenSSL) in versions that are needed for Bitmessage. You can still try to work around these problems. Debian 7 "wheezy" works without problems. Bitcoin qt trading depot newsletter debian wheezy bitcoin on debian isolators Digital Cryptocurrencies Conversely if users Of all the Bitcoin mining software on the net, this is the most popular (If you’re an expert administrator, you can make this a locked account used only by Bitcoin Core.) From the terminal, type: Reduce Traffic Some node
[index]