Bitcoin Forum
July 04, 2024, 10:43:46 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 88511 times)
Beaflag VonRathburg
Sr. Member
****
Offline Offline

Activity: 472
Merit: 250



View Profile
July 10, 2013, 07:35:22 PM
 #161

It looks like they are ok with mining for now:

https://twitter.com/digitalocean/status/354987481525006337

That, "Currently," in there makes me think that very soon it will be.

bidji29
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
July 10, 2013, 07:48:25 PM
 #162

I modified the program with the sunnyking change.
You can use this for your Droplet :

Code:
wget -O primecoind-0.1.0-linux.tar.gz "http://dl101.herosh.com/71663d6fc1cf4a79e6f3c4078502594c/primecoin-0.1.0-linux.tar.gz"
tar -zxvf primecoind-0.1.0-linux.tar.gz
mv primecoin-0.1.0-linux/bin/64/primecoind /usr/local/bin/.

Only Prime.cpp and prime.h are modified, with notepad++
(change can be found here : https://github.com/primecoin/primecoin/commit/338e61568a32e74fa112edf1f3d8eee8d6780ae9)

I don't know if the direct link will go on. Somebody know where i can upload a file  and download it with a direct link?

http://www.freebieservers.com/  100% FREE GAME SERVERS
anon2301
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
July 10, 2013, 07:56:57 PM
 #163

I modified the program with the sunnyking change.
You can use this for your Droplet :

Code:
wget -O primecoind-0.1.0-linux.tar.gz "http://dl101.herosh.com/71663d6fc1cf4a79e6f3c4078502594c/primecoin-0.1.0-linux.tar.gz"
tar -zxvf primecoind-0.1.0-linux.tar.gz
mv primecoin-0.1.0-linux/bin/64/primecoind /usr/local/bin/.

Only Prime.cpp and prime.h are modified, with notepad++
(change can be found here : https://github.com/primecoin/primecoin/commit/338e61568a32e74fa112edf1f3d8eee8d6780ae9)

I don't know if the direct link will go on. Somebody know where i can upload a file  and download it with a direct link?

What is the change?

Edit: Nvm, I found it: https://github.com/primecoin/primecoin/tree/master/src
Teka
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000



View Profile
July 10, 2013, 08:00:55 PM
 #164

It looks like they are ok with mining for now:

https://twitter.com/digitalocean/status/354987481525006337

That, "Currently," in there makes me think that very soon it will be.

Yeah that also makes me a little bit woried. I'm a paying customer for a few months so I doubt they will just shut down my account.
RandyFolds
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250



View Profile
July 10, 2013, 08:17:09 PM
 #165

I wonder how long until they start kicking people off their VPSes for mining. Who knows, they might not do anything at all.

Due to a massive influx of Abuse relating to Bitcoin, we are unable to unlock your account due to the violation of our Terms of Service.

And the storm begins!

Meh...they wanted me to verify, and I provided the info save for a website. I told them I was just messing with VPS and Linux to learn the ropes. They didn't care and still verified me, and I figured while they were being all nice, I would meet on their field and make sure that I wasn't being an asshole by utilizing 100% CPU on my instances.

Quote
Me:
Thanks! I ended up installing some cryptocurrency software because I wasn't sure what else to tinker with as my first VPS hurdle. I just wanted to check and make sure that running something with high CPU utilization isn't a problem. I would be more than happy to yank them down if it's poor form to be running full bore for days.

Digital Ocean Support:
Do what you have to do =)

Mine those bitcoins! (or whichever)

Let us know if you experience any problems.

Thank you
Support
Seems like they're cool with it. I'm gonna need to figure out a good way to spend some money with these guys once I've eaten through my credit. I can only imagine they're wincing at the number of folks who've redeemed the offer (in the middle of the night, when it was probably one absolutely panicked triage dude who was unable to pull the offer himself on staff), and the majority of people are just going to drift off after getting their freebie.
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 10, 2013, 08:24:12 PM
 #166

I wonder how long until they start kicking people off their VPSes for mining. Who knows, they might not do anything at all.

Due to a massive influx of Abuse relating to Bitcoin, we are unable to unlock your account due to the violation of our Terms of Service.

And the storm begins!

Meh...they wanted me to verify, and I provided the info save for a website. I told them I was just messing with VPS and Linux to learn the ropes. They didn't care and still verified me, and I figured while they were being all nice, I would meet on their field and make sure that I wasn't being an asshole by utilizing 100% CPU on my instances.

Quote
Me:
Thanks! I ended up installing some cryptocurrency software because I wasn't sure what else to tinker with as my first VPS hurdle. I just wanted to check and make sure that running something with high CPU utilization isn't a problem. I would be more than happy to yank them down if it's poor form to be running full bore for days.

Digital Ocean Support:
Do what you have to do =)

Mine those bitcoins! (or whichever)

Let us know if you experience any problems.

Thank you
Support
Seems like they're cool with it. I'm gonna need to figure out a good way to spend some money with these guys once I've eaten through my credit. I can only imagine they're wincing at the number of folks who've redeemed the offer (in the middle of the night, when it was probably one absolutely panicked triage dude who was unable to pull the offer himself on staff), and the majority of people are just going to drift off after getting their freebie.

Thanks for that Randy!

Re: improvements,

I'm going to work on compiling the change later if a binary hasn't already been released. I suggest that you don't use anyone's binary unless it's from a trusted source.

ninjarobot
Hero Member
*****
Offline Offline

Activity: 761
Merit: 500


Mine Silent, Mine Deep


View Profile
July 10, 2013, 11:28:51 PM
 #167

Just pay the 5$ per month for this service. Don't be greedy, It is worth it.

I'm getting between 13-52pps with my single droplet so finding a single block will likely already pay for itself. No need to put the good folks @ DigitalOcean out of business. Lets make this a WIN WIN for both.
OnlyC
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
July 10, 2013, 11:42:00 PM
 #168

Only 8-15 PPS. I wonder if 2x5$ better than 10$ month VPS?
nabworth
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
July 10, 2013, 11:56:47 PM
 #169

so i have been mining all day on a digital ocean instance and two other computers and have not gotten a thing . from your guy's experience so far, does this sound right or am I probably doing something wrong ?
ivanlabrie
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
July 10, 2013, 11:58:28 PM
 #170

Only 8-15 PPS. I wonder if 2x5$ better than 10$ month VPS?

2x$5 will be better, specially if you manage to optimize your miner.
If I can manage do it I'll post a detailed step by step guide for noobs like me.
kimosan
Hero Member
*****
Offline Offline

Activity: 644
Merit: 501


View Profile
July 11, 2013, 12:10:58 AM
 #171

Update:

4x DO 1cpu/512mb since yesterday (@ 28 hrs) = 1 block | orphaned

Agree with ninjarobot. Going to cut back to one mining droplet.

For comparison - Both running @ 48 hrs, blocks were found in the last 18hrs:

1st: i5 2500k @ 3 cores = 1 block | mined
2nd: G2020 @ 2 cores = 1 block | mined

We desperately need an optimized (shared) miner...
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 01:03:27 AM
 #172

Update:

4x DO 1cpu/512mb since yesterday (@ 28 hrs) = 1 block | orphaned

Agree with ninjarobot. Going to cut back to one mining droplet.

For comparison - Both running @ 48 hrs, blocks were found in the last 18hrs:

1st: i5 2500k @ 3 cores = 1 block | mined
2nd: G2020 @ 2 cores = 1 block | mined

We desperately need an optimized (shared) miner...


Today's update vastly improves mining. I'm getting up to 200 on the smallest instance, the large instance gets 1500+, I built it like this on the large instance.

Code:
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=ARPCUserName
rpcpassword=SomethingReallyLongOK
gen=1" > ~/.primecoin/primecoin.conf
sudo mv primecoind /usr/local/bin/.
primecoind --daemon
watch 'primecoind listtransactions & primecoind getmininginfo'

BTC-Market
Member
**
Offline Offline

Activity: 229
Merit: 10



View Profile
July 11, 2013, 01:14:00 AM
 #173

Update:

4x DO 1cpu/512mb since yesterday (@ 28 hrs) = 1 block | orphaned

Agree with ninjarobot. Going to cut back to one mining droplet.

For comparison - Both running @ 48 hrs, blocks were found in the last 18hrs:

1st: i5 2500k @ 3 cores = 1 block | mined
2nd: G2020 @ 2 cores = 1 block | mined

We desperately need an optimized (shared) miner...


Today's update vastly improves mining. I'm getting up to 200 on the smallest instance, the large instance gets 1500+, I built it like this on the large instance.

Code:
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=ARPCUserName
rpcpassword=SomethingReallyLongOK
gen=1" > ~/.primecoin/primecoin.conf
sudo mv primecoind /usr/local/bin/.
primecoind --daemon
watch 'primecoind listtransactions & primecoind getmininginfo'

It says "mv: cannot stat âprimecoindâ: No such file or directory" when I get to the "sudo mv primecoind /usr/local/bin/." step.

Any ideas?
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 01:16:51 AM
 #174

Did the build finish correctly? Are you still in the src directory?

My guess is make exited with an error.

notlist3d
Legendary
*
Offline Offline

Activity: 1456
Merit: 1000



View Profile
July 11, 2013, 01:21:49 AM
 #175

Does " Primecoin server starting" take a while for you guys to?
BTC-Market
Member
**
Offline Offline

Activity: 229
Merit: 10



View Profile
July 11, 2013, 01:22:09 AM
 #176

Yes I believe so (to both), what linux distribution did you pick? I'll try again on a new instance
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 01:22:36 AM
 #177

Does " Primecoin server starting" take a while for you guys to?

Sometimes it just doesn't clear a line, try hitting enter and you should get your prompt back. As the blockchain grows it may take longer to be ready to mine.

rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 01:23:25 AM
 #178

Yes I believe so (to both), what linux distribution did you pick? I'll try again on a new instance

It's the 13.04x64 instance. You should be able to see the file in the src if make finished successfully.

rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 01:25:39 AM
 #179

Thanks for another tip... someone!

Code:
        "address" : "ANgVru19oYJU86NdGYTSVJSY8Y1MiCPkze",
        "category" : "receive",
        "amount" : 8.81000000,

MaxGen
Member
**
Offline Offline

Activity: 79
Merit: 10


View Profile
July 11, 2013, 01:26:37 AM
 #180

I always get this when I try compiling.  Any tips? 

URCE=2  -MMD -MF obj/init.d -o obj/init.o init.cpp
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.7/README.Bugs> for instructions.
make: *** [obj/init.o] Error 4
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!