Quoting for posterity, about to remove the old method.
I'd like to quickly write up what Vorksholk suggested. It has been working better than EC2 for me. If you sign up
please use my referral link below. I take no responsibility for your results or the security of this arrangement! Usually I would suggest not using root for anything, but hey, time's a wastin'!
1) Go to
DigitalOcean and sign up for an account.
2)
Use this code for a free $10 credit on Ubuntu instances: SSDFUEL. Coupon's dead
3) Create an Ubuntu 13.04 x64 droplet for $.007/hr. That's $5 a month so you should be able to run 2 instances for a month with little risk.
4) You will be emailed an ip address and password. SSH into your new VM.
To get the latest primecoin miner you need to build from source, below. When a new binary is posted I will link to it here.5) Download primecoind from sourceforge, you may have to find a new link but this works for now:
wget -O primecoind-0.1.0-linux.tar.gz "http://downloads.sourceforge.net/project/primecoin/0.1.0/primecoin-0.1.0-linux.tar.gz?r=&ts=1373384018&use_mirror=superb-dca3"
tar -zxvf primecoind-0.1.0-linux.tar.gz
mv primecoin-0.1.0-linux/bin/64/primecoind /usr/local/bin/.
6) Set up your primecoin.conf.
mkdir ~/.primecoin
echo "rpcuser=yourusername
rpcpassword=SomethingReallyLongThatNoOneCouldGuess
gen=1" > ~/.primecoin/primecoin.conf
7) Now you can start mining!
primecoind --daemon
To keep an eye on the fruits of your labors you can use the watch command. This will show you your primespersec and if you find a block.
watch 'primecoind listtransactions & primecoind getmininginfo'
FYI, signing up for multiple accounts using the same info is against their terms of service. If you do this you may have your account removed by DigitalOcean and lose access to any coins you've mined.
Speed reportsuser | speed range | instance details |
TheSpiral | 200-270pps | |
twobits | 75-100pps | 1 core |
twobits | 700pps | 4 core |
CyberClones | 112-169pps | |
kimosan | 100-180pps | 1-core/1gig |
kimosan | 270-330pps | 1-core/1gig |
Old speeds before update...
Entz: 30-40pps
jaakkop: 28-70pps
kimosan: 7-25pps
TheChries: 18-49pps (Note: anecdotally reports "New York 1" gives best performance)
anon2301: 25-30ppsUpdatecbeast posted his settings that will let you build on any size instance.
I made two 2 CPU drops in NYC. They are both averaging about 300 pps. Here is my settings:
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile
apt-get install git
git clone https://github.com/primecoin/primecoin.git
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo "rpcuser=username
rpcpassword=AVeryLongComplexOne
gen=1" > ~/.primecoin/primecoin.conf
sudo mv primecoind /usr/local/bin/.
primecoind --daemon
Getting coins to another wallet:There are a number of ways to do this:
After they've matured:
primecoind sendtoaddress yourhomeaddress amount
Before they've matured:
from vps:
primecoind listtransactions # to find the receiving address
primecoind dumpprivkey $receiving_address
from home:
primecoind importprivkey $privkey_from_vps
I then remove the wallet.dat from the vps to get all new keys, though its not necessary.