Last active
April 14, 2024 16:11
-
-
Save rjmacarthy/b56497a81a6497bfabb1 to your computer and use it in GitHub Desktop.
Install Bitcoind Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
** Add repository and install bitcoind ** | |
sudo apt-get install build-essential | |
sudo apt-get install libtool autotools-dev autoconf | |
sudo apt-get install libssl-dev | |
sudo apt-get install libboost-all-dev | |
sudo add-apt-repository ppa:luke-jr/bitcoincore | |
sudo apt-get update | |
sudo apt-get install bitcoind | |
mkdir ~/.bitcoin/ && cd ~/.bitcoin/ | |
nano bitcoin.conf | |
** Add config to bitcoin.conf file ** | |
rpcuser=username | |
rpcpassword=password | |
testnet=1 | |
rpcallowip=127.0.0.1 | |
server=1 | |
[test] | |
rpcport=8332 | |
** Start bitcoind ** | |
bitcoind --daemon | |
** If bitcoind is already started ** | |
ps -e | grep bitcoin // returns pid | |
kill -9 <pid> | |
bitcoind --daemon | |
** Test bitcoind is running and working ** | |
bitcoin-cli -getinfo | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thank you, found it quite helpful