Pages:
Author

Topic: [XPM] Pool mining primecoin using DigitalOcean (VPS) - page 2. (Read 88579 times)

sr. member
Activity: 378
Merit: 255
I suppose most of these directions apply to any VPS with a Debian or Ubuntu image.

As far as optimizing solo mining... could you be more specific? The point of pooled mining is to reduce variance, so for many, solo mining is long bet.
member
Activity: 70
Merit: 10
Primecoin now supports pooled mining! 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.

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.

2) Create an Ubuntu 13.10 x64 droplet with the size you want.

3) You will be emailed an IP address and password. SSH into your new VM.

Code:
ssh root@YOUR-AWESOME-IP

4) Enter this beast into the console, replacing the primecoin address with your own wallet address and the genproclimit with the number of CPUs you're paying for:

sudo apt-get update && sudo apt-get install -y screen yasm git make g++ build-essential libminiupnpc-dev libboost-all-dev libdb++-dev libgmp-dev libssl-dev dos2unix; git clone https://github.com/thbaumbach/primecoin; cd ~/primecoin/src; make -f makefile.unix;  screen ./primeminer -poolip=54.200.248.75 -poolport=1337 -pooluser=Acrenf7WMZ3yFc7xkdbF8rGuuLw36Bkknr -poolpassword=PASSWORD -genproclimit=1

What's happening here is that we get all the packages needed for building, we download the source for the miner and make the binary executable. Once it's running we connect to the beeeeer pool. You can disconnect from screen without stopping mining by pressing ctrl-a; then d. To reconnect to the miner use `screen -d`.

Once you've started finding shares head over to (after replacing your XPM address):

http://beeeeer.org/user/Acrenf7WMZ3yFc7xkdbF8rGuuLw36Bkknr

The current payout threshold is 3.01 XPM.

BONUS POINTS: Set it up as a service that starts at boot and clone the droplet.

NOTE: If you get this error,

Code:
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make: *** [obj/db.o] Error 4

It's because you're on a small droplet (like me). So add swap space, run make, and start the miner!

sudo dd if=/dev/zero of=/swapfile bs=64M count=16; sudo mkswap /swapfile; sudo swapon /swapfile; make -f makefile.unix;  screen ./primeminer -poolip=54.200.248.75 -poolport=1337 -pooluser=Acrenf7WMZ3yFc7xkdbF8rGuuLw36Bkknr -poolpassword=PASSWORD -genproclimit=8

Stickers!

Got my DigitalOcean stickers today!



You can request your own by emailing [email protected] .

What others VPS can you use? And how do you optimize solo mining to get the maximum ROI, could you please share the settings?
sr. member
Activity: 378
Merit: 255
I'm curious - does digitalocean still limit the max # of instances to 5? This is what I experienced last time - they wouldn't support primecoin mining.

They will increase your instance limit if you ask them.

Sorry for a noob question, How can I go back to mining screen after I exit by pressing Ctrl + A and D?

Code:
screen -r

Added to the OP.
sr. member
Activity: 434
Merit: 250
🤖UBEX.COM 🤖
Sorry for a noob question, How can I go back to mining screen after I exit by pressing Ctrl + A and D?
hero member
Activity: 874
Merit: 1000
I'm curious - does digitalocean still limit the max # of instances to 5? This is what I experienced last time - they wouldn't support primecoin mining.
uk1
copper member
Activity: 546
Merit: 500
how many cores does each package have?


The number of cores is equal to the number of CPUs.
thanks for the info
sr. member
Activity: 378
Merit: 255
how many cores does each package have?


The number of cores is equal to the number of CPUs.
uk1
copper member
Activity: 546
Merit: 500
how many cores does each package have?

512MB / 1 CPU 20GB SSD Disk 1TB Transfer
cores
1GB / 1 CPU 30GB SSD Disk 2TB Transfer
cores
2GB / 2 CPUs 40GB SSD Disk 3TB Transfer
cores
4GB / 2 CPUs 60GB SSD Disk 4TB Transfer
cores
8GB / 4 CPUs 80GB SSD Disk 5TB Transfer
cores
16GB / 8 CPUs 160GB SSD Disk 6TB Transfer
cores
32GB / 12 CPUs 320GB SSD Disk 7TB Transfer
cores
48GB / 16 CPUs 480GB SSD Disk 8TB Transfer
cores
64GB / 20 CPUs 640GB SSD Disk 9TB Transfer
cores
96GB / 24 CPUs 960GB SSD Disk 10TB Transfer
cores

sr. member
Activity: 378
Merit: 255
Just wanted to say, someone appears to be mining using the address in the OP. Though I appreciate the donation, remember to change that address to your primecoin address!
sr. member
Activity: 378
Merit: 255
Looks good to me!
full member
Activity: 219
Merit: 100
I'm trying it right now, after I got a $5 comeback from DO.



Does it work, everything alright with it?
sr. member
Activity: 378
Merit: 255
I've only used it against beeeer.org.
full member
Activity: 378
Merit: 100
The Premier Digital Asset Management Ecosystem
was anybody able to setup the primeminer to go against ypool? I couldn't make it work either using ypool.net nor the server ip.
sr. member
Activity: 378
Merit: 255
Bonus points: turn it into a service that starts at boot so you can clone a bunch of droplets!

First, write a miner script:

Code:
cd ~
echo '
cd /root/primecoin/src
screen -d -m ./primeminer -poolip=54.200.248.75 -poolport=1337 -pooluser=Acrenf7WMZ3yFc7xkdbF8rGuuLw36Bkknr -poolpassword=PASSWORD -genproclimit=1' > startprime

chmod +x startprime

Now make the service that will keep it alive:

Code:
echo '
#!/bin/bash

until /root/startprime; do
  echo "Restarting miner">&2
  sleep 1
done' > primeservice
chmod +x primeservice

Now you can edit crontab to include this service to start at reboot. Type `crontab -e`, and in the last line of the file add:

Code:
@reboot   /root/primeservice

Now reboot the droplet with `sudo reboot`. When you've logged back in, check to see if it worked by sending `screen -r`. This should open the miner info.

You can then `sudo poweroff` the droplet and take a snapshot. This snapshot is then used when creating a new droplet!
sr. member
Activity: 378
Merit: 255
I'll write up more in the first post, but you can take a snapshot of a miner and create identical droplets. The limit is set by DigitalOcean and can be increased if you request it.
sr. member
Activity: 280
Merit: 250
V for Victory or Rather JustV8
It seems like home-CPU mining of XPM is dead?? Cry

Depends on CPU, efficency and cost of power. You can still churn a profit...for now.
sr. member
Activity: 378
Merit: 255
Whichever one you like, more cores means faster mining. That being said making several small droplets is my current strategy.
newbie
Activity: 11
Merit: 0
Hi!

What kind of droplet should I make?
sr. member
Activity: 378
Merit: 255
Edited the OP for directions to start pool mining on beeper!

EDIT: I'm having some trouble accessing the stats page, but I have received a payout nonetheless.
legendary
Activity: 1354
Merit: 1020
I was diagnosed with brain parasite
It seems like home-CPU mining of XPM is dead?? Cry
Pages:
Jump to: