Bitcoin Forum
May 25, 2018, 11:35:50 AM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 »
  Print  
Author Topic: [XPM] Pool mining primecoin using DigitalOcean (VPS)  (Read 87936 times)
rethaw
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250



View Profile
July 09, 2013, 03:52:44 PM
 #1

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 <file:///usr/share/doc/gcc-4.8/README.Bugs> 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 barry@digitalocean.com .

1527248150
Hero Member
*
Offline Offline

Posts: 1527248150

View Profile Personal Message (Offline)

Ignore
1527248150
Reply with quote  #2

1527248150
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1527248150
Hero Member
*
Offline Offline

Posts: 1527248150

View Profile Personal Message (Offline)

Ignore
1527248150
Reply with quote  #2

1527248150
Report to moderator
1527248150
Hero Member
*
Offline Offline

Posts: 1527248150

View Profile Personal Message (Offline)

Ignore
1527248150
Reply with quote  #2

1527248150
Report to moderator
1527248150
Hero Member
*
Offline Offline

Posts: 1527248150

View Profile Personal Message (Offline)

Ignore
1527248150
Reply with quote  #2

1527248150
Report to moderator
Boing7898
Sr. Member
****
Offline Offline

Activity: 560
Merit: 256


View Profile
July 09, 2013, 03:58:21 PM
 #2

Nice referral link  Wink

rethaw
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250



View Profile
July 09, 2013, 03:59:51 PM
 #3

Nice referral link  Wink

Emboldened for clarity.

Lauda
Legendary
*
Offline Offline

Activity: 1862
Merit: 1557


GUNBOT Licenses -15% with ref. code 'GrumpyKitty'


View Profile WWW
July 09, 2013, 04:00:06 PM
 #4

Working better than EC2? Stop using cheap options and try the biggest cluster son  Cool

.FORTUNE.JACK.
      ▄▄███████▄▄
   ▄████▀▀ ▄ ██████▄
  ████ ▄▄███ ████████
 █████▌▐███▌ ▀▄ ▀█████
███████▄██▀▀▀▀▄████████
█████▀▄▄▄▄█████████████
████▄▄▄▄ █████████████
 ██████▌ ███▀████████
  ███████▄▀▄████████
   ▀█████▀▀███████▀
      ▀▀██████▀▀
         
         █
...FortuneJack.com                                             
...THE BIGGEST BITCOIN GAMBLING SITE
       ▄▄█████████▄▄
    ▄█████████████████▄
  ▄█████████████████████▄
 ▄██
█████████▀███████████▄
██████████▀   ▀██████████
█████████▀       ▀█████████
████████           ████████
████████▄   ▄ ▄   ▄████████
██████████▀   ▀██████████
 ▀██
█████████████████████▀
  ▀██
███████████████████▀
    ▀█████████████████▀
       ▀▀█████████▀▀
#JACKMATE
WIN 1 BTC
▄█████████████████████████▄
███████████████████████████
███████████████████████████
██████████▀█████▀██████████
███████▀░░▀░░░░░▀░░▀███████
██████▌░░░░░░░░░░░░░▐██████
██████░░░░██░░░██░░░░██████
█████▌░░░░▀▀░░░▀▀░░░░▐█████
██████▄░░▄▄▄░░░▄▄▄░░▄██████
████████▄▄███████▄▄████████

███████████████████████████
███████████████████████████
▀█████████████████████████▀
rethaw
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250



View Profile
July 09, 2013, 04:01:44 PM
 #5

Working better than EC2? Stop using cheap options and try the biggest cluster son  Cool

It does work better than EC2, if you try a big instance let us know your results. Main reason I chose not to is the 8x CPU instance costs more than 8x the tiny instance.

Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1708
Merit: 1001

Reverse engineer from time to time


View Profile
July 09, 2013, 04:09:31 PM
 #6

For the promo code you need to enter your credit card details. Otherwise there's Paypal but then you can't enter the promo code.
Well that sucks...

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
Lauda
Legendary
*
Offline Offline

Activity: 1862
Merit: 1557


GUNBOT Licenses -15% with ref. code 'GrumpyKitty'


View Profile WWW
July 09, 2013, 04:11:06 PM
 #7

Working better than EC2? Stop using cheap options and try the biggest cluster son  Cool

It does work better than EC2, if you try a big instance let us know your results. Main reason I chose not to is the 8x CPU instance costs more than 8x the tiny instance.
I ran a huge cluster on amazon, you sir have no clue what you're talking about 5$ per hour is cheap for it's power Wink

.FORTUNE.JACK.
      ▄▄███████▄▄
   ▄████▀▀ ▄ ██████▄
  ████ ▄▄███ ████████
 █████▌▐███▌ ▀▄ ▀█████
███████▄██▀▀▀▀▄████████
█████▀▄▄▄▄█████████████
████▄▄▄▄ █████████████
 ██████▌ ███▀████████
  ███████▄▀▄████████
   ▀█████▀▀███████▀
      ▀▀██████▀▀
         
         █
...FortuneJack.com                                             
...THE BIGGEST BITCOIN GAMBLING SITE
       ▄▄█████████▄▄
    ▄█████████████████▄
  ▄█████████████████████▄
 ▄██
█████████▀███████████▄
██████████▀   ▀██████████
█████████▀       ▀█████████
████████           ████████
████████▄   ▄ ▄   ▄████████
██████████▀   ▀██████████
 ▀██
█████████████████████▀
  ▀██
███████████████████▀
    ▀█████████████████▀
       ▀▀█████████▀▀
#JACKMATE
WIN 1 BTC
▄█████████████████████████▄
███████████████████████████
███████████████████████████
██████████▀█████▀██████████
███████▀░░▀░░░░░▀░░▀███████
██████▌░░░░░░░░░░░░░▐██████
██████░░░░██░░░██░░░░██████
█████▌░░░░▀▀░░░▀▀░░░░▐█████
██████▄░░▄▄▄░░░▄▄▄░░▄██████
████████▄▄███████▄▄████████

███████████████████████████
███████████████████████████
▀█████████████████████████▀
rethaw
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250



View Profile
July 09, 2013, 04:12:59 PM
 #8

Working better than EC2? Stop using cheap options and try the biggest cluster son  Cool

It does work better than EC2, if you try a big instance let us know your results. Main reason I chose not to is the 8x CPU instance costs more than 8x the tiny instance.
I ran huge cluster on amazon, you sir have no clue what you're talking about 5$ per hour is cheap for it's power Wink

It's untested whether it scales for this purpose.

bidji29
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
July 09, 2013, 04:30:01 PM
 #9

You can enter the promo code on the "add credit card page", without adding the credit card. The code is validate on the fly


EDIT : well you still have to add a payment method if you want to run an instance

http://www.freebieservers.com/  100% FREE GAME SERVERS
Lauda
Legendary
*
Offline Offline

Activity: 1862
Merit: 1557


GUNBOT Licenses -15% with ref. code 'GrumpyKitty'


View Profile WWW
July 09, 2013, 04:38:21 PM
 #10

You can enter the promo code on the "add credit card page", without adding the credit card. The code is validate on the fly


EDIT : well you still have to add a payment method if you want to run an instance
which sucks and yes i know.

.FORTUNE.JACK.
      ▄▄███████▄▄
   ▄████▀▀ ▄ ██████▄
  ████ ▄▄███ ████████
 █████▌▐███▌ ▀▄ ▀█████
███████▄██▀▀▀▀▄████████
█████▀▄▄▄▄█████████████
████▄▄▄▄ █████████████
 ██████▌ ███▀████████
  ███████▄▀▄████████
   ▀█████▀▀███████▀
      ▀▀██████▀▀
         
         █
...FortuneJack.com                                             
...THE BIGGEST BITCOIN GAMBLING SITE
       ▄▄█████████▄▄
    ▄█████████████████▄
  ▄█████████████████████▄
 ▄██
█████████▀███████████▄
██████████▀   ▀██████████
█████████▀       ▀█████████
████████           ████████
████████▄   ▄ ▄   ▄████████
██████████▀   ▀██████████
 ▀██
█████████████████████▀
  ▀██
███████████████████▀
    ▀█████████████████▀
       ▀▀█████████▀▀
#JACKMATE
WIN 1 BTC
▄█████████████████████████▄
███████████████████████████
███████████████████████████
██████████▀█████▀██████████
███████▀░░▀░░░░░▀░░▀███████
██████▌░░░░░░░░░░░░░▐██████
██████░░░░██░░░██░░░░██████
█████▌░░░░▀▀░░░▀▀░░░░▐█████
██████▄░░▄▄▄░░░▄▄▄░░▄██████
████████▄▄███████▄▄████████

███████████████████████████
███████████████████████████
▀█████████████████████████▀
3dcgminer
Full Member
***
Offline Offline

Activity: 138
Merit: 100


View Profile
July 09, 2013, 04:40:52 PM
 #11

Got the 10 dollars credited to the account, maybe you will get some referral bonus at least...
DR3AMR2
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
July 09, 2013, 04:48:42 PM
 #12

Thanks for the instructions!  You should add that the $10 coupon only works if we input the credit card on the OP.  I missed out on it after I paid with paypal  Cry

Looking forward to see what we can mine here!
Beaflag VonRathburg
Sr. Member
****
Offline Offline

Activity: 443
Merit: 250



View Profile
July 09, 2013, 04:48:57 PM
 #13

What did you write to transfer any found coins?

rethaw
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250



View Profile
July 09, 2013, 04:55:40 PM
 #14

What did you write to transfer any found coins?

Grab the address the coins were mined into.

From the vps: primecoind exportprivkey $address

From your main wallet, importprivkey $privkey

Then stop primecoind on the vps, delete wallet.dat, and restart.

Careful though!

Vorksholk
Legendary
*
Offline Offline

Activity: 1694
Merit: 1001



View Profile WWW
July 09, 2013, 04:56:04 PM
 #15

I have tested with higher-end cloud instances from digitalocean, trust me it's not worth it. Seems every plan except he 512MB one gets less than 2PPS average, due to lack of entropy. the CPU is fully virtualized (QEMU), so there is less entropy than primecoin needs. Oddly enough, the 512MB plan works great, I have 30 running right now.

VeriBlock: Securing The World's Blockchains Using Bitcoin
https://veriblock.org
Lauda
Legendary
*
Offline Offline

Activity: 1862
Merit: 1557


GUNBOT Licenses -15% with ref. code 'GrumpyKitty'


View Profile WWW
July 09, 2013, 04:58:33 PM
 #16

Code:
7) Now you can start mining!
Code:
primecoind --daemon
It returned for me: -bash: primecoind: command not found

.FORTUNE.JACK.
      ▄▄███████▄▄
   ▄████▀▀ ▄ ██████▄
  ████ ▄▄███ ████████
 █████▌▐███▌ ▀▄ ▀█████
███████▄██▀▀▀▀▄████████
█████▀▄▄▄▄█████████████
████▄▄▄▄ █████████████
 ██████▌ ███▀████████
  ███████▄▀▄████████
   ▀█████▀▀███████▀
      ▀▀██████▀▀
         
         █
...FortuneJack.com                                             
...THE BIGGEST BITCOIN GAMBLING SITE
       ▄▄█████████▄▄
    ▄█████████████████▄
  ▄█████████████████████▄
 ▄██
█████████▀███████████▄
██████████▀   ▀██████████
█████████▀       ▀█████████
████████           ████████
████████▄   ▄ ▄   ▄████████
██████████▀   ▀██████████
 ▀██
█████████████████████▀
  ▀██
███████████████████▀
    ▀█████████████████▀
       ▀▀█████████▀▀
#JACKMATE
WIN 1 BTC
▄█████████████████████████▄
███████████████████████████
███████████████████████████
██████████▀█████▀██████████
███████▀░░▀░░░░░▀░░▀███████
██████▌░░░░░░░░░░░░░▐██████
██████░░░░██░░░██░░░░██████
█████▌░░░░▀▀░░░▀▀░░░░▐█████
██████▄░░▄▄▄░░░▄▄▄░░▄██████
████████▄▄███████▄▄████████

███████████████████████████
███████████████████████████
▀█████████████████████████▀
tadakaluri
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500



View Profile WWW
July 09, 2013, 05:00:23 PM
 #17

What did you write to transfer any found coins?

Grab the address the coins were mined into.

From the vps: primecoind exportprivkey $address

From your main wallet, importprivkey $privkey

Then stop primecoind on the vps, delete wallet.dat, and restart.

Careful though!

Can you explain more clearly? (where we can add/replace wallet addresses)
bidji29
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
July 09, 2013, 05:01:34 PM
 #18

How to delete the primecoind.conf file from the server?  yes i copy/pasted too quickly...

And how to know the adress of the wallet?

Thanks!

http://www.freebieservers.com/  100% FREE GAME SERVERS
wibtc
Jr. Member
*
Offline Offline

Activity: 32
Merit: 0



View Profile
July 09, 2013, 05:10:08 PM
 #19

Where to check the $10 credit? thanks.
rethaw
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250



View Profile
July 09, 2013, 05:32:43 PM
 #20

Where to check the $10 credit? thanks.

Under billing it should be applied.

Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!