Simple docs/scripts for setting up a miner on a Debian x86_64 based VM.
- prerequisites.md
- bitcoin.md
- stacks-blockchain.md
- Note: Will link to some required steps in wallet.md
Check the VM requirements first in prerequisites.md to ensure you have a compatible VM for mining.
Note that sudo
is required
- Initial package setup:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/stacksfoundation/miner-docs/main/scripts/prerequisites.sh | bash
- if using a separate disks for chainstate, mount them now i.e.
sudo mount /dev/xvdf1 /bitcoin
- Install Bitcoin:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/stacksfoundation/miner-docs/main/scripts/install_bitcoin.sh | bash
Once Bitcoin has fully synced from genesis, the final script can be run
- Install Stacks Blockchain:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/stacksfoundation/miner-docs/main/scripts/install_stacks.sh | bash