Thursday, February 20, 2014

HOW TO CREATE A FULL BITCOIN NODE IN A $5 UBUNTU VPS

HOW TO CREATE A FULL BITCOIN NODE IN A $5 UBUNTU VPS These instructions will successfully run bitcoind on a minimum of 512MB(memory) 20GB(disk) VPS. Running a full bitcoin node helps support the bitcoin network. It is not recommended to use this node as a personal wallet since a lot more hardening should be done first. (1) SINGLE SCRIPT SETUP wget -O btcNode.sh https://raw.github.com/XertroV/BitcoinAutoNode/master/bitcoinAutoNode.sh ; sudo bash btcNode.sh (2) NOTES To monitor BITCOIND status: bitcoind getinfo Rebooting your VPS will automatically start bitcoind thanks to monit. If bitcoind is not running for some reason then executing bitcoind from a shell will start it. I'd welcome any tips for improving the instructions including the reddit formatting. UPDATES add firewall rules in step-4 for SSH and bitcoind port 8333 add limit to bitcoin connections in order to help control bandwidth; reduce from 40 in step-8 to limit it further. move reboot to the last step limit firewall ports to TCP changed the firewall enabling to not ask for user confirmation ATTRIBUTIONS I modified and pulled together these instructions from two main sources: Setting up bitcoind in a VPS: https://bitcointalk.org/index.php?topic=332679.msg3568348#msg3568348 Swap file trick: http://www.erikaheidi.com/2013/09/25/setting-optimized-droplet-ubuntu-nginx-php5-fpm/ http://www.rownet.co.uk/adding-swap-space-to-an-amazon-ec2-micro-instance/ Script: A big thanks go to XertroV for converting the steps into a script.