How to compile and install Bitcoin Core on Debian Wheezy

Easy UASF Node in Debian VM tutorial

So if you have a moderately powerful gaming desktop with a Quad-Core CPU like an i5 or better and 8+GB of RAM, you can easily run your own little UASF node in the background. Once it's done syncing with the network, you won't even notice it's there. Here's how.
You will need :
The following assumes you know how to install Linux in a Virtual Machine
Step I. - Installation. Go through expert install and set up a base system with only ssh server enabled. For partitioning, you can do just one big disk and everything in one partition, but if you happen to have a computer that has both SSD's and HDD's, it would be optimal to create two virtual disks and use a small one for the OS on the SSD and a larger one on the HDD in a custom mount point for the blockchain. Reboot and ssh into the server.
Step II. - Build requirements. A few things need to be taken care of. First, you'll want to edit the /etc/network/interfaces file and set up a static IP. Once that's done, stop by your router and make sure that traffic on port 8333 is forwarded to your debian VM. Then, install some packages we need :
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-config 
The 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 main 
Then remember to update again, and install the thing :
apt install libdb4.8++-dev libdb4.8-dev 
If 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-dev 
Step 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 install 
That'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.
Minimal bitcoin.conf example
daemon=1 listen=1 disablewallet=1 server=1 rpcuser=bob rpcpassword=bob's password 
Security 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 ACCEPT 
Useful ressources :
submitted by the_bolshevik to Bitcoin [link] [comments]

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] [7616] [12809] [748] [23784] [18699] [19783] [24407] [25103] [13673] [11511]

Flag Counter