Custom P2pool + Bitcoin full node + merged mining installation script

This page allows you to create a script that will download and install bitcoind, p2pool, and other coins for merged mining. The script is designed to be used on a fresh installation of Ubuntu 14.04. It can be used with either the Server or Desktop editions. If you want to find out how it works or make sure it's not doing something dodgy, I urge you to just read the file! It's plain text (not a binary executable file), well documented, and about as clear as I can make it.

To get the default installation options, just hit "Generate!" below. Or, you can choose to customize your options first.

Step 1: Select P2pool

Module Download source Skip (do not install or update)
P2pool

Step 2: Select your coins

For each of the coins, you can choose to dowload the source code and compile, or to download a precompiled binary. Compiling is more secure, as you're guaranteed to get an unmodified client but it's somewhat slower. Depending on how beefy your system is, this could take an hour or so to complete.

Module Download source and compile Download precompiled binary Skip (do not install or update)
Bitcoin
Namecoin
iXcoin
Devcoin
i0coin
Fusioncoin
Huntercoin

Step 3: Additional script features

Module Include Skip (do not install or update)
Install and configure a firewall
This installs ufw, or "uncomplicated firewall", and configures it to only open the ports needed by your selected coins and p2pool.
Configure ufw for use on an OpenVZ VPS
If you run this script on a virtual private server (VPS) hosted on an OpenVZ architecture, select this option. Otherwise, ufw won't work. If you run on a different type of VPS, or if you run in a VM or physical machine, don't select this.
Download the bitcoin blockchain using http
This option downloads a majority of the bitcoin blockchain using a fast http download. If you are updating an existing install, skip this. If you are setting up a new install and don't use this, the blockchain will instead download using the (much slower) built-in peer-to-peer process. If you have access to bittorrent on your target system, you should select "Skip" and instead follow the instructions here to download using bittorrent.
Set a custom p2pool payout address
Leave this blank to have payouts go to the default address created by bitcoind.WARNING! If you fill in a custom address, make sure it's correct, or your payouts will be lost permanently!
Set the p2pool node fee
If you allow others to mine on your node, this is the percentage of shares earned that will be allocated to you. Many nodes run with the default 0% fee; the ones with a fee are generally 1% or less.
%
Set the p2pool author donation fee
This is the percentage of found shares that will be donated to the author of p2pool. The default is 0.5%.
%

Step 4: Get your script!