Updates:17-May-2017: Updated guide for Ubuntu 16.04 LTS15-June-2014: Fixed an error in the i0coin.conf included in p2pool-files.tar.gz15-June-2014: Added instructions on automatic startup after reboot15-June-2014: Added fusioncoin (for merge mining) and updated binaries16-June-2014: Added Lazy guy's installation method16-June-2014: Added namecoin.conf in p2pool-files.tar.gz and fixed start-p2pool16-June-2014: Added rpcallowip=127.0.0.1 to all config files21-June-2014: Added huntercoin to the guide21-June-2014: Implemented a lot of suggestions from KyrosKrane. Addded a firewall script and reordered the commands for "lazy" installation method.15-July-2014: Updated huntercoind and added bitcoin 0.9.2.1 in the binaries (I didn't compile it, I just used the 64-bit precompiled binary from bitcoin.org) as PPA has older version.24-August-2014: Updated namecoind and huntercoind. Note that you might have to download blockchain of namecoin again after updating.9-September-2014: Updated again namecoind and huntercoind to latest versions.

If you still need to read all the details on how everything is done please read on!

IMPORTANT SECURITY NOTE: If you are running your server on a VPS with full internet access make sure you change the rpcpassword or edit your config files and add rpcallowip=127.0.0.1

Announcing: Lazy guy's installation methodSo you are too bored to read all this?This is too technical for you?Do you want to have P2Pool up and running within 5 minutes with only 2 commands to execute?

After you install Linux Ubuntu 14.04 LTS, login and execute the following commands:

It will install everything (it will use the binaries not compile everything again) and you just have to wait...Do a reboot and you are done.

Then jump to "END OF COMPILATION OF FILES"

Some history:I created this guide to have up to date P2Pool installation instructions on latest version of Ubuntu LTS (currently 14.04).People may consider it difficult to get a P2Pool node up and running but in fact it's very simple if you have some basic Linux knowledge.In this guide I will provide BTC and merged mining NMC, DVC and IXC (in order to match GHash.io's offering).Note that althought BTC mining is distributed among P2Pool miners, merged coins (e.g. NMC and IXC) will not be distributed to others but you will solo mine those. If you mine exclusively with P2Pool you will get the same profit (and a bit more) compared to mining to other pools. In the long run NMC/DVC/IXC profit will be the same.

I will not cover instructions on how to do this. You can install it in a virtual machine or a physical machine.For virtual machine start with 2 Processors and 4GB memory. Suggested disk size is 60GB (that's a lot but you will have room to grow).

Create a user and run all the commands as a user NOT as root.

If you find any mistakes please let me know!

First thing after you install ubuntu is to install all updates for Ubuntu and reboot your machine:

For the next part I provide two solutions.One solution is to compile everything on your own. In that case you need all the prerequisites above.The other, easier and faster solution is to download the binaries compiled and as a bonus I have all the configuration files mentioned below.

You are not ready to start P2Pool just yet. The BTC/NMC/DVC/IXC blockchain has to be downloaded first and it will take about 2 days.So execute these commands and wait...

Code:

/usr/bin/bitcoind ~/bin/ixcoind ~/bin/namecoind~/bin/devcoind

Make sure that blockchain has finished downloading for all coins.You can check that by going into .bitcoin/.namecoin/.ixcoin and do tail -f debug.log.If you see downloading of old dates then you should wait before even starting P2Pool.

and you are good to go. Note there is a command that says "sleep 200". This means to wait 200 seconds before starting P2Pool. The reason for this is because it takes time to verify and sync the blockchain. Remember that during your reboot/downtime - transactions were going on and you are not up to sync. So depending on how fast your connection/server is you might have to adjust this value up or down.

If you want to setup automatic startup of P2Pool after a reboot do the following (after you have created the script above):crontab -e -u (YOUR USER)e.g.

Code:

crontab -e -u murdof

An editor will open. Add to the end the command:@reboot /home/(YOUR USER)/start-p2poole.g.

Make sure you replace the rpcpasswords if you have changed them and only list the coins you have.

ENABLE FIREWALL ON YOUR SERVER:If you are running on a hosted linux system, there is usually no firewall so your server is open to the internet.It is a good measure to lock down everything except the things we need. Credits to KyrosKrane:Execute the following commands only once. The settings are saved and you don't need to execute them again. If you are running other services on the same server (e.g. http/ftp) make sure you enable those ports as well

Fusioncoin - there was some issue with the rpc ports - should be my fault with the config that i have to checkhuntercoin - i get error at linking. will look into this as well [update: i see in huntercoin forums that others have issues compiling under 14.04 but there is no solution that I found yet. They say if you compile namecoin you are good to go. We apparently compile namecoin OK but doesn't work]

huntercoin - i get error at linking. will look into this as well [update: i see in huntercoin forums that others have issues compiling under 14.04 but there is no solution that I found yet. They say if you compile namecoin you are good to go. We apparently compile namecoin OK but doesn't work]

I had the same problem with HUC on 14.04 - I've quoted this on the HUC thread in the hope they get the problem sorted

huntercoin - i get error at linking. will look into this as well [update: i see in huntercoin forums that others have issues compiling under 14.04 but there is no solution that I found yet. They say if you compile namecoin you are good to go. We apparently compile namecoin OK but doesn't work]

I had the same problem with HUC on 14.04 - I've quoted this on the HUC thread in the hope they get the problem sorted

I pulled updates from git today as they were some available but still it doesn't work....

No exchange huh?I did compile it - but since there is no profit currently on it I just confirm that it compiles OK.Just do:cd ~git clone https://github.com/RoadTrain/groupcoincd ~/groupcoin/src/make -f makefile.unixstrip groupcoindcp groupcoind ~/bin

and then create a config file like you are doing for other coins and start it.

Personally I did compile it only, didn't start it.Will look into it again when you can find it on an exchange.