Skip to content

Instantly share code, notes, and snippets.

View jackwhite420's full-sized avatar
learning to code

Jack White jackwhite420

learning to code
View GitHub Profile
@ray-bun
ray-bun / linux_install_bitcoin_node_and_lightning_network.sh
Last active December 2, 2021 02:53
Install full Bicoin Node (bitcoind) and Lightning Network (lnd) with TOR, Balance of Satoshi (BOS) on Linux Ubuntu 21.04 x64 with 600 GB block
#!/bin/bash
#https://gist.github.com/royalgarter/834662e43944a94ba56e65b0e0408c39#file-setup_btc_prune_node_ubuntu18_do-sh
#https://stopanddecrypt.medium.com/a-complete-beginners-guide-to-installing-a-lightning-node-on-linux-2021-edition-ece227cfc35d#66eb
#https://stopanddecrypt.medium.com/a-complete-beginners-guide-to-installing-a-bitcoin-full-node-on-linux-2021-edition-46bf20fbe8ff
# Test after install bitcoin: btc getzmqnotifications
echo "run lsblk to find data disk and change devname below. Create new empty partitions and mount to /home"
devname=xvdb
#devname=sda
#devname=sdb
`parted -s /dev/$devname mklabel gpt`