Bitcoin Forum
May 28, 2024, 08:01:57 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
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 88502 times)
AnhBen
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile WWW
December 28, 2013, 03:35:35 PM
 #721

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 .

What others VPS can you use? And how do you optimize solo mining to get the maximum ROI, could you please share the settings?

Twitter @iKcul
Best news agg: http://KculShare.com
XPM: AVmbdubJMrEDBgpvxaXGTqtdB8C2CRSk7f
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
December 29, 2013, 02:20:08 AM
 #722

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.

raveldoni
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


🤖UBEX.COM 🤖


View Profile
December 29, 2013, 05:04:16 AM
 #723

Sorry to bother you again. I have one more question:

If I want to make some changes like value of 'genproclimit=1' how can I do it?


GLOBAL DECENTRALIZED ADVERTISING EXCHANGE

Token sale: MAY 21

                                  ▄█▄      ▄█▄        
                                 █████    █████       
                        ▄██▄     ▀█▀      ▀█▀        
                ▄█▄    ▀██▀                           
         ▄     ▀█▀                        ▄█▄        
        ▀█▀                      ▄█▄     █████       
                        ▄██▄    █████     ▀█▀        
   ██          ▄█▄    ▀██▀     ▀█▀                  
         ▄     ▀█▀                        ▄█▄        
        ▀█▀                      ▄█▄     █████       
                        ▄██▄    █████     ▀█▀        
   ██          ▄█▄    ▀██▀     ▀█▀                  
                ▀█▀                                    
          ▄                      ▄█▄      ▄█▄        
         ▀█▀           ▄██▄    █████    █████       
   ██          ▄█▄    ▀██▀     ▀█▀      ▀█▀        
                ▀█▀                                    
           ▄                      ▄█▄     ▄█▄        
          ▀█▀            ▄██▄   █████   █████       
    ██            ▄█▄   ▀██▀    ▀█▀     ▀█▀        
             ▄    ▀█▀                                 
            ▀█▀                         ▄█▄           
       ██              ▄█▄   ▄██▄    █████          
                  ▄    ▀█▀   ▀██▀     ▀█▀           
                 ▀█▀                                   
            ██                   ▄██▄                 
                    ▄     ▄█▄   ▀██▀                 
                   ▀█▀    ▀█▀                          

▄█   ▄█  ▄█        ▄█████▄   ▀█▄     ▄█▀
██   ██  ██▄▄▄▄▄   ██▀   ▀██    ▀█▄  ▄█▀
██   ██  ██▀▀▀▀██  ██▀▀▀▀▀▀▀      ████   
██   ██  ██   ██  ██▄   ▄█    ▄██▀▀██▄   
▀██████▀  ▀██████▀  ▀███████▀   ▄██▀   ▀██▄
Telegram
Facebook
ANN Thread
Youtube
LinkedIn
Twitter
Medium
Reddit
Github
AnhBen
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile WWW
December 29, 2013, 03:39:08 PM
 #724

Is there a better service and a more affordable one that could give you a better ROI?

Twitter @iKcul
Best news agg: http://KculShare.com
XPM: AVmbdubJMrEDBgpvxaXGTqtdB8C2CRSk7f
ivanlabrie
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
December 29, 2013, 04:44:35 PM
 #725

Is there a better service and a more affordable one that could give you a better ROI?

Hard to tell, server4you or warriorvps, maybe...
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
December 30, 2013, 03:48:42 AM
 #726

Sorry to bother you again. I have one more question:

If I want to make some changes like value of 'genproclimit=1' how can I do it?

It's this part of the command, just change it to what you want to use.

Code:
screen ./primeminer -poolip=54.200.248.75 -poolport=1337 -pooluser=Acrenf7WMZ3yFc7xkdbF8rGuuLw36Bkknr -poolpassword=PASSWORD -genproclimit=1

Jazek
Full Member
***
Offline Offline

Activity: 243
Merit: 100


View Profile
January 16, 2014, 03:16:22 AM
 #727

well hi guys i have paid 5$ for a small droplet and i followed this intructions:

1: sudo apt-get update
2: sudo apt-get install bzip2 git git-core subversion checkinstall build-essential libssl-dev libboost-all-dev libdb5.1-dev libdb5.1++-dev libgtk2.0-dev
3: apt-get install libgmp3-dev
4: dd if=/dev/zero of=/swapfile bs=64M count=16
5: mkswap /swapfile
6: swapon /swapfile
7: wget http://downloads.sourceforge.net/project/primecoin-hp/0.1.1-hp4/primecoin-0.1.1-hp4.tar.bz2
8: tar jxvf primecoin-0.1.1-hp4.tar.bz2
9: cd primecoin-0.1.1-hp4
10: cd src
11: make -f makefile.unix USE_UPNP=-
12: cd .. (until back in root)
13: mkdir ~/.primecoin
      echo "rpcuser= i put one
      rpcpassword= the pass u want
      gen=1" > ~/.primecoin/primecoin.conf
14: cd yourself like before back to the src folder inside the primecoin directory, again, this is "cd primecoin-0.1.1-hp4" "cd src"
15: ./primecoind --daemon


i changed the rpcuser and rpcpassword, but the thing it´s that when i saw the graph to see the cpu usage i saw this: http://imagizer.imageshack.us/v2/1024x768q90/811/l0f2.png

and when i typed ./primecoin getmininginfo to see how many primespersecond i was obtaining i got this: http://imagizer.imageshack.us/v2/1024x768q90/855/c41f.png


Did they bottleneck the cpus for not mining or is it something wrong in the instructions?
AnhBen
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile WWW
January 16, 2014, 04:20:36 AM
 #728

Wait for it to catch up with the network!

On another note: I don't find mining on DO is profitable comparing to AWS EC2 and Linode with the latest Primecoind HP

Twitter @iKcul
Best news agg: http://KculShare.com
XPM: AVmbdubJMrEDBgpvxaXGTqtdB8C2CRSk7f
Jazek
Full Member
***
Offline Offline

Activity: 243
Merit: 100


View Profile
January 16, 2014, 05:02:58 AM
 #729

well i deleted the droplet, and followed your instructions and the result is 266 primes per second, wow thanks a lot for this guide ^^
FiatKiller
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
February 05, 2014, 12:35:16 AM
 #730

What do you guys think about buying used Xeons versus renting servers?

LTC: LdxgJQLUdr8hZ79BV5AYbxkBUdaXctXAPi
MoonCoin Gambling: https://coin-horse.com/MON/
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
February 05, 2014, 03:38:28 AM
 #731

My electricity costs don't warrant it, but who doesn't love bear metal?!


CryptoBeggar
Member
**
Offline Offline

Activity: 119
Merit: 10


View Profile
February 06, 2014, 12:50:56 AM
 #732

What do you guys think about buying used Xeons versus renting servers?

Had a xeon running for two weeks, found no blocks at current diff. :sad:

First MasterCoin protocol transaction -> https://bitcointalk.org/index.php?topic=265488.msg2940318#msg2940318; please refer to thread disclosed for more information
FiatKiller
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
February 06, 2014, 12:52:40 AM
 #733

What do you guys think about buying used Xeons versus renting servers?

Had a xeon running for two weeks, found no blocks at current diff. :sad:

but you can still pool mine, right?

LTC: LdxgJQLUdr8hZ79BV5AYbxkBUdaXctXAPi
MoonCoin Gambling: https://coin-horse.com/MON/
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
February 06, 2014, 05:06:32 AM
 #734

What do you guys think about buying used Xeons versus renting servers?

Had a xeon running for two weeks, found no blocks at current diff. :sad:

but you can still pool mine, right?

Of course.

Perseus353
Full Member
***
Offline Offline

Activity: 125
Merit: 100


View Profile
February 06, 2014, 01:05:48 PM
Last edit: February 06, 2014, 01:39:47 PM by Perseus353
 #735

Noob question here:

Im following the instructions on this article: http://www.cryptocoinsnews.com/2013/12/04/primecoin-cloud-mining-using-digital-ocean-complete-guide/

And I get stuck at the command:

make -f makefile.unix

It tells me: "-bash: make: command not found"

All the instructions prior to this worked swimmingly. What should I do?

Is there an alternative to "make" to start the compiling ?

UPDATE: Problem solved:

If "make" is not yet installed, enter the following command:

Quote
apt-get update && apt-get install make

1CkV1H1CA67CjpG5QMxEgVU9tNto51DBHd
kazekiki
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
February 12, 2014, 08:29:33 AM
 #736

just a noob question: can I connect 2 VPS to a same worker ? do they increase the speed of worker or when VPS1 connect and the VPS2 can't connect?
kazekiki
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
February 12, 2014, 08:34:57 AM
 #737

Noob question here:

Im following the instructions on this article: http://www.cryptocoinsnews.com/2013/12/04/primecoin-cloud-mining-using-digital-ocean-complete-guide/

And I get stuck at the command:

make -f makefile.unix

It tells me: "-bash: make: command not found"

All the instructions prior to this worked swimmingly. What should I do?

Is there an alternative to "make" to start the compiling ?

UPDATE: Problem solved:

If "make" is not yet installed, enter the following command:

Quote
apt-get update && apt-get install make

you can use my guide, I do it proprerly with Ubuntu 13
Code:
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
cd ~/primecoin/src
make -f makefile.unix
cd
apt-get install supervisor
mkdir -p /var/log/supervisor
touch /etc/supervisor/conf.d/primecoin.conf
nano /etc/supervisor/conf.d/primecoin.conf


[program:primecoin]
command=/root/primecoin/src/primeminer -pooluser=Ach8FjWpoeAgXcQK29cJAWzpDSgjeXqRgQ -poolip=54.200.248.75 -poolport=1337 -genproclimit=4 -poolpassword=PASSWORD
stdout_logfile=/var/log/supervisor/%(program_name)s.log
stderr_logfile=/var/log/supervisor/%(program_name)s.log
autorestart=true
stevec
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
March 02, 2014, 11:15:44 AM
 #738

Sorry for the late reply - I noticed several people earlier in this thread were looking at slicify. I posted some updates here: https://bitcointalk.org/index.php?topic=495678.0

Any comments/questions/suggestions/abuse welcome Smiley
ivanlabrie
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
April 05, 2014, 04:39:03 PM
 #739

I'd reccomend against investing in cpu mining hardware at this point in time...gpu miners are out for xpm, and soon will be open sourced and massively deployed.

So, buy some xpm if you want cause price will soon increase as we get rid of the botnets at last!
AmDD
Legendary
*
Offline Offline

Activity: 1027
Merit: 1005



View Profile
April 05, 2014, 04:41:46 PM
 #740

I'd reccomend against investing in cpu mining hardware at this point in time...gpu miners are out for xpm, and soon will be open sourced and massively deployed.

So, buy some xpm if you want cause price will soon increase as we get rid of the botnets at last!

I second that. I hate to see difficulty go up but Id really like to eliminate the botnets and let this coin grow as it should.

BTC tip jar: 18EKpbrcXxbpzAZv3T58ccGcVis7W7JR9w
LTC tip jar: Lgp8ERykAgx6Q8NdMqpi5vnVoUMD2hYn2a
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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!