Sinisterly
BTC Mining - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Coding (https://sinister.ly/Forum-Coding--71)
+--- Thread: BTC Mining (/Thread-BTC-Mining--205180)



BTC Mining - DoXeD - 10-21-2023

Code:
#!/bin/bash # Update system sudo apt update && sudo apt upgrade -y # Install necessary dependencies sudo apt install build-essential autoconf libtool libssl-dev libboost-all-dev libdb-dev libdb++-dev libevent-dev -y # Download Bitcoin Core source code git clone https://github.com/bitcoin/bitcoin.git cd bitcoin # Compile Bitcoin Core ./autogen.sh ./configure make # Install Bitcoin Core sudo make install # Download and install Bitcoin Core documentation git clone https://github.com/bitcoin-core/docs.git sudo mv docs /var/www/html/bitcoin-docs # Start Bitcoin Core bitcoind echo "Bitcoin Core installed and running. Documentation can be accessed at http://your_server_ip/bitcoin-docs"