Primecoin Mining is still mainly done on CPUs, with the ongoing spikes in interest regarding XPM it is now profitable to rent servers for pennies on the hour and put them to work mining XPM. Renting cloud services to mine is a great way to decentralize the mining network and add security to the network, as well as make some money on the side. I am going to show you how.
What you will need:
- Paypal account or valid Credit Card.
- Primecoin (XPM) Address [from your personal primecoin client or from your preferred cryptocoin exchange]
- Internet connection
Digital Ocean is one of the more competitively priced simple cloud hosting services in the world; what's more, Digital Ocean has explicitly stated that the mining of Primecoin is allowed on their servers and you will not be banned for your activities. Some other cloud services have not been so understanding.
Create an account at www.digitalocean.com. Click the yellow Sign-Up button on the top-right of the webpage.
Choose a secure email address and a password and you're good to go.
Once you are into your account, clicking anywhere will direct you to their Billing page.
ENTER PROMO CODE: DIVEIN10 TO RECEIVE $10 FREE CREDIT.
Hook up a credit card or top off your account with Paypal to get started. Once your billing information is satisfactory to Digital Ocean, you can start creating droplets.
The more cores you have, the more chains per day you will have. The single CPU option does not work well with Primeminer so I would suggest going with at least two cores.
Next, select the region geographically closest to you.
Next, make sure to choose Debian 7.0 64 bit as your Image.
Next, Create your droplet and your credentials will be sent to your email.
Upon receiving your credentials, click to your Droplets menu where you will be able to see each of your Droplets, and select the one that you wish to access.
Once there, you can get Console Access through the website itself without having to download Putty.
You will be taken to a page where a black screen will load. This is your command console.
Enter 'root' as your login, and enter the password provided to your email as the password.
Upon successful login, you'll be able to enter control your miner and pass it commands in the form of code.
Enter in the following strings exactly.
sudo apt-get update
sudo apt-get install yasm -y git make g++ build-essential libminiupnpc-dev
sudo apt-get install -y libboost-all-dev libdb++-dev libgmp-dev libssl-dev dos2unix
git clone https://github.com/thbaumbach/primecoin
make -f makefile.unix
You are installing all the necessary drivers and programs to mine Primecoin, and some of the commands may take some time to fully execute. Be patient, the reward is worth it!
Now that everything is set up, you are ready to start your Primecoin miner and point it at a pool. For simplicity sake, I have provided the settings for mining on beeeeer.org. Beeeeer.org uses your receiving Primecoin address as the username and coins are automatically sent once they reach a threshold of 3 XPM.
To start your miner, enter in the below code replacing the <information> with your specific settings.
./primeminer -poolip=<xx.xxx.xxx.xx> -poolport=1337 -pooluser=<Primecoin Address> -poolpassword=PASSWORD -genproclimit=<# of cores>
Choose your IP from the following options:
Once running, it should look something like this:
Rinse and Repeat for multiple droplets, up to 5, and make sure to invite your interested amigos!
Go to www.beeeeer.org/user/<your address> to check your progress, as I said before payouts are automatic at every 3XPM.
You can also go to https://xpm.syware.de/ and submit your address to see information on how your miner is doing.
Start mining before the difficulty gets higher!