BitShares Forum

Main => Technical Support => Topic started by: marimax on January 04, 2014, 10:28:57 pm

Title: How to set up Digital ocean cloud services to Ypool protoshares
Post by: marimax on January 04, 2014, 10:28:57 pm
 :o Hi everyone

I can not make this right, been trying to set up cloud mining with digital ocean but am not succeding....here is the code i am using:

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/jh000/jhProtominer.git
cd ~/jhprotominer/src
make -f makefile.unix
./jhprotominer -o ypool.net:8081 -u marimaxxxx.pts_1 -p 12345

Please help, :o...where am i wrong?  :'(
Title: Re: How to set up Digital ocean cloud services to Ypool protoshares
Post by: arcke on January 04, 2014, 10:42:35 pm
Maybe someone active in the ypool thread (https://bitsharestalk.org/index.php?topic=449.0) can help you.

I am not fully understanding your problem. Where is it going wrong? Do you get any errors?
Title: Re: How to set up Digital ocean cloud services to Ypool protoshares
Post by: hasher on January 04, 2014, 11:26:30 pm
try like this:

sudo apt-get update
apt-get -y install git g++  libdb++-dev build-essential libgmp-dev
apt-get -y install screen  libdb-dev libdb++-dev libminiupnpc-dev
apt-get install yasm build-essential libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev zlib1g-dev

wget http://wrzucacz.pl/file/9331386996946/jhprotominer-yvg1900-M7h-linux64-generic.tgz
cd jhprotominer-yvg1900-M7h-linux64-generic
cd linux64-generic-512M

./jhprotominer -o ypool.net:8081 -u yourworkername -p 1 -t 3 -F 0 -A
Title: Re: How to set up Digital ocean cloud services to Ypool protoshares
Post by: CryptoN8 on January 04, 2014, 11:45:34 pm
:o Hi everyone

I can not make this right, been trying to set up cloud mining with digital ocean but am not succeding....here is the code i am using:

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/jh000/jhProtominer.git
cd ~/jhprotominer/src
make -f makefile.unix
./jhprotominer -o ypool.net:8081 -u marimaxxxx.pts_1 -p 12345

Please help, :o...where am i wrong?  :'(

I would read though this wiki: (But the example is old, you may want to try the new M7i version)
http://ypool-mining.wikia.com/wiki/Ypool_Mining_Wiki

The link to the best miners that I have found is yvg1900's dropbox, here:
https://www.dropbox.com/sh/jvp4wwek8jpohj7/RlW6hzYqTz

That is all the various compiled versions, the one you would want is the nehalem version.

So from your droplet on DigitalOcean, do this:
wget https://www.dropbox.com/sh/jvp4wwek8jpohj7/fOnW5_SA49/yam-yvg1900-M7i-linux64-nehalem.tgz

then untar it, copy the yam and yam.cfg files to your home directory. Make sure yam is marked execute. (chmod a+x yam)
modify the yam.cfg file with your account.worker info. Comment out the 2nd pool if you don't have one.

start it with ./yam --config yam.cfg

With a 2GB/2 CPU, the one for $20 a month, I'm only able to get around 33-40 CPM, sometimes 70 CPM, so it's not really worth it. I think they either throttle or the server gets loaded.
Even at the best CPM of 70 that is only 0.0445 PTS a day at the current difficulity. So that would barely cover the monthly cost.
CPM Calc here: http://mrx.im/pts.php

But it's always fun to play and learn. Good luck.  8)





Title: Re: How to set up Digital ocean cloud services to Ypool protoshares
Post by: barwizi on January 05, 2014, 08:18:36 am
:o Hi everyone

I can not make this right, been trying to set up cloud mining with digital ocean but am not succeding....here is the code i am using:

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/jh000/jhProtominer.git
cd ~/jhprotominer/src
make -f makefile.unix
./jhprotominer -o ypool.net:8081 -u marimaxxxx.pts_1 -p 12345

Please help, :o...where am i wrong?  :'(

what error are you getting?
Title: Re: How to set up Digital ocean cloud services to Ypool protoshares
Post by: marimax on January 05, 2014, 06:08:56 pm
:o Hi everyone

I can not make this right, been trying to set up cloud mining with digital ocean but am not succeding....here is the code i am using:

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/jh000/jhProtominer.git
cd ~/jhprotominer/src
make -f makefile.unix
./jhprotominer -o ypool.net:8081 -u marimaxxxx.pts_1 -p 12345

Please help, :o...where am i wrong?  :'(

I would read though this wiki: (But the example is old, you may want to try the new M7i version)
http://ypool-mining.wikia.com/wiki/Ypool_Mining_Wiki

The link to the best miners that I have found is yvg1900's dropbox, here:
https://www.dropbox.com/sh/jvp4wwek8jpohj7/RlW6hzYqTz

That is all the various compiled versions, the one you would want is the nehalem version.

So from your droplet on DigitalOcean, do this:
wget https://www.dropbox.com/sh/jvp4wwek8jpohj7/fOnW5_SA49/yam-yvg1900-M7i-linux64-nehalem.tgz

then untar it, copy the yam and yam.cfg files to your home directory. Make sure yam is marked execute. (chmod a+x yam)
modify the yam.cfg file with your account.worker info. Comment out the 2nd pool if you don't have one.

start it with ./yam --config yam.cfg

With a 2GB/2 CPU, the one for $20 a month, I'm only able to get around 33-40 CPM, sometimes 70 CPM, so it's not really worth it. I think they either throttle or the server gets loaded.
Even at the best CPM of 70 that is only 0.0445 PTS a day at the current difficulity. So that would barely cover the monthly cost.
CPM Calc here: http://mrx.im/pts.php

But it's always fun to play and learn. Good luck.  8)



I did follow this option, thanks hasher, however gives me the following error: -bash: ./jhprotominer: No such file or directory  :'(

No i will follow Bitminer8 instructions to see what s going to happen, only tomorrow will come here to let you all know how i get on with this hard work lol. Will be sweeting a lot here lol... :D

Title: Re: How to set up Digital ocean cloud services to Ypool protoshares
Post by: arcke on January 05, 2014, 06:11:57 pm
:o Hi everyone

I can not make this right, been trying to set up cloud mining with digital ocean but am not succeding....here is the code i am using:

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/jh000/jhProtominer.git
cd ~/jhprotominer/src
make -f makefile.unix
./jhprotominer -o ypool.net:8081 -u marimaxxxx.pts_1 -p 12345

Please help, :o...where am i wrong?  :'(

I would read though this wiki: (But the example is old, you may want to try the new M7i version)
http://ypool-mining.wikia.com/wiki/Ypool_Mining_Wiki

The link to the best miners that I have found is yvg1900's dropbox, here:
https://www.dropbox.com/sh/jvp4wwek8jpohj7/RlW6hzYqTz

That is all the various compiled versions, the one you would want is the nehalem version.

So from your droplet on DigitalOcean, do this:
wget https://www.dropbox.com/sh/jvp4wwek8jpohj7/fOnW5_SA49/yam-yvg1900-M7i-linux64-nehalem.tgz

then untar it, copy the yam and yam.cfg files to your home directory. Make sure yam is marked execute. (chmod a+x yam)
modify the yam.cfg file with your account.worker info. Comment out the 2nd pool if you don't have one.

start it with ./yam --config yam.cfg

With a 2GB/2 CPU, the one for $20 a month, I'm only able to get around 33-40 CPM, sometimes 70 CPM, so it's not really worth it. I think they either throttle or the server gets loaded.
Even at the best CPM of 70 that is only 0.0445 PTS a day at the current difficulity. So that would barely cover the monthly cost.
CPM Calc here: http://mrx.im/pts.php

But it's always fun to play and learn. Good luck.  8)



I did follow this option, thanks hasher, however gives me the following error: -bash: ./jhprotominer: No such file or directory  :'(

No i will follow Bitminer8 instructions to see what s going to happen, only tomorrow will come here to let you all know how i get on with this hard work lol. Will be sweeting a lot here lol... :D

In hashers instructions there is a missing step.


wget http://wrzucacz.pl/file/9331386996946/jhprotominer-yvg1900-M7h-linux64-generic.tgz

---MISSING STEP
tar -xzf jhprotominer-yvg1900-M7h-linux64-generic.tgz
---MISSING STEP

cd jhprotominer-yvg1900-M7h-linux64-generic
cd linux64-generic-512M


./jhprotominer -o ypool.net:8081 -u yourworkername -p 1 -t 3 -F 0 -A


Now it should work as supposed.