(This tutorial assumes that you have set up a secure, "hardened" Linux server according to the instructions here, that you have installed the Darkcoin daemon according to the instructions here, and that you have installed P2Pool-Drk according to the instructions here. If your server has been prepared using other methods, the instructions here may very well not work for you. Please be sure you know what you are doing.)
Copy Previous Installation
Before you upgrade, we are first going to make a copy of your current installation. We are going to copy your ~/p2pool-drk into the directory ~/p2pool-drk-old. It is possible that you already have a ~/p2pool-drk-old from a previous upgrade; if you do, we are going to also delete that first.
If you see a p2pool-drk-old directory, remove it:
rm -r p2pool-drk-old
Then copy p2pool-drk to p2pool-drk-old, and remove the original p2pool-drk
cp -a p2pool-drk p2pool-drk-old
rm -r p2pool-drk
Now get and install p2pool-drk.
git clone https://bitbucket.org/dstorm/p2pool-drk
At this point you have p2pool-drk installed, but it will look very plain. Backup the new ~/p2pool/web-static directory to ~/p2pool/web-static-bak, then delete ~/p2pool/web-static, and copy over the necessary files from ~/p2pool-drk-old. Finally, create a needed symbolic link.
cp -a ~/p2pool-drk/web-static ~/p2pool-drk/web-static-bak
rm -r ~/p2pool-drk/web-static
cp -a ~/p2pool-drk-old/p2pool-ui-punchy ~/p2pool-drk/p2pool-ui-punchy
cp -a ~/p2pool-drk-old/web-static-original ~/p2pool-drk/web-static-original
ln -s ~/p2pool-drk/p2pool-ui-punchy web-static
1.) Create a screen session for P2Pool so it persists even if you aren’t logged in to the machine:
2.) Then start p2pool-drk this way: (The "-f 1" part means that you will be charging a 1% fee to your miners. You could change this to whatever you like, but 1% is customary.)
Your p2pool-drk is now updated! You can visit your page at:
|Powered by AlienEngine. Get yours now!|