Hello,
Regarding to my personal experience: Ubuntu is about 5-10% faster compared to Windows Server and it is easier (just faster) to setup the miner.
Quick Guide:
1) Register for Windows Azure Trial (you need a credit card) and login on the portal (manage.windowsazure.com)
2) Create an extra large (8 core, 14 GB RAM) Ubuntu 13.10 server (it takes about 5 minutes until it is online). You can also create directly 2 extra large and one large machine (20 core maximum for the trial).
3) Click on the virtual machine --> Dashboard and look for the public IP. Connect with putty (or another SSH client). Username: azureuser .
4) Setting up ypool miner:
sudo -s
apt-get install -y build-essential git screen htop
git clone https://github.com/Tydus/jhProtominer -b linux-port
cd jhProtominer/src/jhProtominer
make CFLAGS="-O3 -march=native"
screen
./jhProtominer -O ypool.net:8081 -u [UserName.Workername] -p [password] -m512 -t 8
You can detach the screen with Control+A - Control+D (directly after each other).
You can resume the screen to check if the worker is still running with "screen -r" on the terminal.
The command htop shows you the cpu usage.
The whole process takes about 10 minutes.
Edit:
Coyote Fallback if ypool is down
You can switch to coyote easily if ypool is down:
screen
wget http://the-iland.net/static/downloads/ubuntu12_coyote_miner.0.3.0.tar.gz
tar -xzvf ubuntu12_coyote_miner.0.3.0.tar.gz
./ubuntu12_coyote_miner.0.3.0 162.243.45.158 [YourPayoutAddress] 8
A very small correction ;)
to use 'screen':
when in screen you need to press ctrl+a to be able to send command to screen itself, after ctrl+a, pressing d detaches (not ctrl+d).
I you want multiple terminals use c as command (always first ctrl+a)
to switch between screen terminals use p (again, after ctrl+a)
Nice guide.
thank you so much for the guide! sent a small donation your way :-)
i am very new to linux and cloud mining in general. After i had successfully gotten a few debian digital ocean miners up and running, thanks to a guide, i got a bit cocky and decided to sign up for the azure trial a couple of days ago... after trying and failing miserably for hours to adapt the terminal commands to work on ubuntu i had finally given up on doing it myself. this is a lifesaver! thanks again.
edit: just wanted to add that after fiddling with the 'screen' command, i must say it is quite useful!
Quote from: BartV on November 16, 2013, 05:33:00 PM
A very small correction ;)
to use 'screen':
when in screen you need to press ctrl+a to be able to send command to screen itself, after ctrl+a, pressing d detaches (not ctrl+d).
I you want multiple terminals use c as command (always first ctrl+a)
to switch between screen terminals use p (again, after ctrl+a)
Nice guide.
Thanks for the correction :)
I am using screen everyday for 8 years now and just noticed that i have obviously no idea what my fingers are doing there ;) .
@solaaire
Thanks for your donation.
Awesome guide, I figured out how to run ypool on linux but forgot to save the commands on a notepad. Glad you posted them.
I think you should also post for the new miner listed on ypool also. Heard it was faster giving 10% extra col/min.
Quote from: smokim11 on November 17, 2013, 01:15:28 PM
Awesome guide, I figured out how to run ypool on linux but forgot to save the commands on a notepad. Glad you posted them.
I think you should also post for the new miner listed on ypool also. Heard it was faster giving 10% extra col/min.
Which one are you talking about? Can you link to the post?
If it is just another branch of Tydus, you can normally just replace
git clone https://github.com/Tydus/jhProtominer -b linux-portby
git clone https://github.com/Tydus/jhProtominer -b branchnamebranchname can be any on https://github.com/Tydus/jhProtominer/branches so I guess you mean
sph?
It's this one here:
https://www.dropbox.com/sh/jvp4wwek8jpohj7/RlW6hzYqTz (https://www.dropbox.com/sh/jvp4wwek8jpohj7/RlW6hzYqTz)
It's optimised to your CPU (I'm assuming it does some instruction stuff above normal) and comes in 8M-1024M flavours for Windows, and 8M-2048MB flavours for linux it seems.
On my machine (Core-i7 (no AVX)) I get ~98Col/min with Tydus on 4096M but this one on 1024 gives me 140col/min.
The linux one run on one of Azure's virtuals (4 thread 1024M) gets 52, whereas Tydus' linux-port was only giving me ~35.
Quote from: timegrinder on November 17, 2013, 02:33:23 PM
It's this one here:
https://www.dropbox.com/sh/jvp4wwek8jpohj7/RlW6hzYqTz (https://www.dropbox.com/sh/jvp4wwek8jpohj7/RlW6hzYqTz)
It's optimised to your CPU (I'm assuming it does some instruction stuff above normal) and comes in 8M-1024M flavours for Windows, and 8M-2048MB flavours for linux it seems.
On my machine (Core-i7 (no AVX)) I get ~98Col/min with Tydus on 4096M but this one on 1024 gives me 140col/min.
The linux one run on one of Azure's virtuals (4 thread 1024M) gets 52, whereas Tydus' linux-port was only giving me ~35.
can someone post mirror please?
Quote from: hjlow on November 18, 2013, 12:52:12 AM
Quote from: timegrinder on November 17, 2013, 02:33:23 PM
It's this one here:
https://www.dropbox.com/sh/jvp4wwek8jpohj7/RlW6hzYqTz (https://www.dropbox.com/sh/jvp4wwek8jpohj7/RlW6hzYqTz)
It's optimised to your CPU (I'm assuming it does some instruction stuff above normal) and comes in 8M-1024M flavours for Windows, and 8M-2048MB flavours for linux it seems.
On my machine (Core-i7 (no AVX)) I get ~98Col/min with Tydus on 4096M but this one on 1024 gives me 140col/min.
The linux one run on one of Azure's virtuals (4 thread 1024M) gets 52, whereas Tydus' linux-port was only giving me ~35.
can someone post mirror please?
Here you go:
Quote from: timegrinder on November 18, 2013, 04:32:54 AM
I've only got the one I downloaded to begin with (Core i7, no AVX) which contains multiple binaries based on memory footprint per thread.
http://www.filedropper.com/jhprotominer-yvg1900-m7c-win64-corei7 (http://www.filedropper.com/jhprotominer-yvg1900-m7c-win64-corei7)
If you're not on a recent (ish) Core-i architecture this probably won't work / be useful for you.
Does somebody have the AMD versions of the optimized miner?
I made a mistake and lost my one...
Quote from: JohnD on November 18, 2013, 01:29:44 PM
Does somebody have the AMD versions of the optimized miner?
I made a mistake and lost my one...
I'm really hoping for this as well.
Hopefully someone over at yPool has noticed that the link to their miner is down and fixes it.
The original set included a full range of AMD/Intel optimised miners, though if anyone knows how to contact yvg1900 you might want to let them know.
They did:
see http://bitsharestalk.org/index.php?topic=449.msg8476#msg8476
Great post.
Is there a way to update the protominer?
any tips to get beeeeer's pool working on azure? i tried transplanting and frankensteining commands I was using on AWS (running ubuntu 13.10 as well) but I cannot figure it out!
Quote from: solaaire on November 19, 2013, 06:13:13 PM
any tips to get beeeeer's pool working on azure? i tried transplanting and frankensteining commands I was using on AWS (running ubuntu 13.10 as well) but I cannot figure it out!
Setup with Debian 7.
edit:
Howto setup on Debian 7 (copied from another thread)
sudo apt-get update
sudo apt-get install -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/ptsminer
cd ~/ptsminer/src
make -f makefile.unix
./ptsminer <your PTS address> <number of threads>
Thanks again! I didn't even realize you could upload your own images to azure... makes a lot of sense in retrospect. The commands even worked on ubuntu 13.10 servers i already had running.
The most embarrassing part is that i have actually been using the commands you just posted to mine on debian via digital ocean for the last week. DOH!
EDIT: Ha! Figured out my problem.. Turns out I had tried these commands before however I had an extremely out of date version of ptsminer so the -f makefile command wasn't working. Updated to v.06 of the miner and it's all good now :)
Here's a quick way to get coyote running on your ubuntu server. There are some library dependancies in there you need.
sudo apt-get install -y git make g++ build-essential libminiupnpc-dev git build-essential htop libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libdb++-dev libminiupnpc-dev git libboost-all-dev libdb++-dev libgmp-dev libssl-dev dos2unix screen
wget -O ub http://the-iland.net/static/downloads/ubuntu12_coyote_miner.0.3.0.tar.gz
tar xvzf ub
screen -d -m -S ubuntu12_coyote_miner.0.3.0 COYOTESERVER YOURWALLETID `cat /proc/cpuinfo | grep processor | wc -l`
The free trial says $200 worth but for 29 days... is it just time limited or will they begin silently charging at some point as well?
Edit: ok used the calculator here.
http://www.windowsazure.com/en-us/pricing/calculator/?scenario=virtual-machines
Looks like you get about 31 hours of 2x8 core + 4 core linux to use up the $200 credit.
I got about five days worth of mining in each of azure accounts, 2x8 cores, 1x4 cores, windows 2012
Doh, I calculated with the A7 and A6 prices instead of the XL and L size instances that I actually set up. Thanks.
Looks like you get .96+.24/hr=1.20/hr $200/1.20 = ~166 hours
I am an absolute beginner to mining/cloud mining, but I was able to get this running as described on the first post. Does anyone have a way to correct this error I'm getting?:
INVALID SHARE - OUTDATED MINER VERSION
I've searched through the forum and found a couple references to it - but any of the fixes/workarounds mentioned are way over my head.. Is there a command I can put into putty to update the miner & which miner should I be updating to?
Sorry if I missed this somewhere else & thanks for any help!
Quote from: jamthedude on November 24, 2013, 04:35:45 PM
I am an absolute beginner to mining/cloud mining, but I was able to get this running as described on the first post. Does anyone have a way to correct this error I'm getting?:
INVALID SHARE - OUTDATED MINER VERSION
I've searched through the forum and found a couple references to it - but any of the fixes/workarounds mentioned are way over my head.. Is there a command I can put into putty to update the miner & which miner should I be updating to?
Sorry if I missed this somewhere else & thanks for any help!
Just download an use one of the updated miners here: https://mega.co.nz/#F!h0tkXSxZ!f62uoUXogkxQmP2xO8Ib-g
I did not test it but i guess i it works.
I am using beers pool currently:
sudo apt-get update
sudo apt-get install -y git make g++ build-essential libminiupnpc-dev libboost-all-dev libdb++-dev libgmp-dev libssl-dev dos2unix yasm screen htop
git clone https://github.com/thbaumbach/ptsminer
cd ~/ptsminer/src
make -f makefile.unix
screen ./ptsminer <your PTS address> <number of threads>
Have just set this up, but disappointingly only getting 100c/m
I've got 2 VM's running so thats a total of 200c/m.
Not exactly sure how this works with the billing and the 30 day trial and £130. Seems like its either 30 days free trial use of the servers or $200 credit to use in the same fashion. I'm currently using all 20 cores to get about 280c/m and my credit hasn't gone down - only the number of days left
Same here, I got 109c/m for each VM. It's confusing because my real PC with I7 4cores /8threads can run up to 220 c/m. Maybe VM is supposed to run slower....
I think the they will charge us in one month's, so we should cancel this service before that if we don't want to pay for 220$?
Quote from: K20 on December 14, 2013, 07:29:34 PM
Have just set this up, but disappointingly only getting 100c/m
I've got 2 VM's running so thats a total of 200c/m.
Not exactly sure how this works with the billing and the 30 day trial and £130. Seems like its either 30 days free trial use of the servers or $200 credit to use in the same fashion. I'm currently using all 20 cores to get about 280c/m and my credit hasn't gone down - only the number of days left
I've had my Azure servers running for 18 hours now and have noticed I've started being billed
(http://i.imgur.com/HgbVNJh.png)
Looks like the yield has fallen too..
(http://i.imgur.com/jr0xDUm.png)
Quote from: ripplexiaoshan on December 15, 2013, 03:05:26 AM
Same here, I got 109c/m for each VM. It's confusing because my real PC with I7 4cores /8threads can run up to 220 c/m. Maybe VM is supposed to run slower....
I think the they will charge us in one month's, so we should cancel this service before that if we don't want to pay for 220$?
Quote from: K20 on December 14, 2013, 07:29:34 PM
Have just set this up, but disappointingly only getting 100c/m
I've got 2 VM's running so thats a total of 200c/m.
Not exactly sure how this works with the billing and the 30 day trial and £130. Seems like its either 30 days free trial use of the servers or $200 credit to use in the same fashion. I'm currently using all 20 cores to get about 280c/m and my credit hasn't gone down - only the number of days left