Does anyone use Chemisist's rebuild?
I've git cloned it and recompiled it on the smallest droplet (512MB 1 core) an hour ago. Didn't even had to re-size it to more memory, temporarily creating and destroying swap file for compilation, compiled while still mining.
Excellent results, it's doubled pps to previous version. It varies 250-350 pps. Recommended.
Same. Getting 300-450pps
How do I compile that?
I have the original Sunny build with the sieve update in my VPS'
Thanks for the input!
Well, somebody has to wright the full howto, so since there are no other volunteers...
First, it's easier to create the new smallest droplet. If you want to do it on the existing one you can do it also, I'll make cleaer the difference.
Create smallest droplet (512MB/ 1 CPU), select your region, select Ubuntu 13.04 x64. It has no desktop, we don't need it and desktop may make mining just a bit slower. Connect to a droplet console.
First change the root password, it's awkward to use default DigitalOcean password, hard to remember, type:
and enter the new password twice.
It's not recommended to work as root under linux, you can easily mess things up. Create a new user and make it a sudoer so it can do what root can, but safely. Enter a new password for the user and few enters, no need to enter other info:
Make a newly created user a sudoer:
adduser <newusername> sudo
Now logoff and login again as a newly created user for the first time:
Then install all the apps and libraries you'll need in one step, -y at the and saves you for having to confirm things:
sudo apt-get install git build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
If you already had a droplet earlier, you begin here. Remove the previous source of the primecoin, if you created new instance skip only this one step:
Now get fresh software from Chemisist repo on GitHub:
git clone https://github.com/Chemisist/primecoin.git
Create temporary swap file and mount it as swap, this avoids compilation errors which are all due to the lack of memory, 512MB is not enough for compilation:
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile
Move where the action takes place:
Compile the software, this takes a while, go get a cup of coffee:
make -f makefile.unix USE_UPNP=-
Unmount and remove the swap file, we don't need it for normal usage:
sudo swapoff /swapfile
sudo rm /swapfile
Create directory for wallet, configuration and logs:
Create configuration file. For newbies, just type the first line, you'll get a prompt for second and third line:
echo "rpcuser=ARPCUserName
rpcpassword=SomethingReallyLongOK
gen=1" > ~/.primecoin/primecoin.conf
Move newly created executable to it's permanent place, where it will also be in the path:
sudo mv primecoind /usr/local/bin/.
Go home and start mining:
Watch the statistics and also get info about newly mined blocks:
watch 'primecoind listtransactions & primecoind getmininginfo'
This should be it. You should have 300 pps in a few minutes. Tips are appriciated.