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
#!/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` |