sudo apt update
sudo apt install build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git
sudo apt install libssl-dev libevent-dev libboost-system-dev libboost-filesystem-dev libboost-test-dev libboost-thread-dev
sudo apt install libminiupnpc-dev libzmq3-dev libsqlite3-devgit clone https://github.com/bitcoinknots/bitcoin.git
cd bitcoingit checkout $(git tag | grep 'v[0-9]' | sort -V | tail -n1)./autogen.sh
./configure
make -j$(nproc)sudo make installbitcoind -daemonTo check the status:
bitcoin-cli getblockchaininfoFile location: ~/.bitcoin/bitcoin.conf
Example contents:
server=1
daemon=1
txindex=1
rpcuser=yourusername
rpcpassword=yoursecurepassword
Let me know if you want instructions for GUI (bitcoin-qt), pruning, or testnet configurations.
Awesome info, thanks for sharing!