Title: cpumining in the cloud Post by: drakoin on February 25, 2014, 02:52:55 AM I am trying out different serverfarms,
amazon EC2, hpcloud, digitalocean, etc. as I am documenting the steps for myself anyways, I thought I share those manuals. May it be useful to you. Usually, I put a lot of comments, but as they are # commented you can simply copy paste the whole posting if you are in a hurry. N.B.: After a day or a week, sit down, and calculate how much coins you are actually generating in a month - because for many coins it might turn out that you pay more for the VPS server, than the coins are worth. Share results! --- #2 myriadcoin (https://bitcointalk.org/index.php?topic=485770.msg5351445#msg5351445) - solo mining with external qubit cpuminer #3 Quark mining, with a pool (https://bitcointalk.org/index.php?topic=485770.msg5696972#msg5696972) Title: Re: cpumining in the cloud Post by: drakoin on February 25, 2014, 02:59:15 AM #
# myriadcoin (https://bitcointalk.org/index.php?topic=483515) # solo mining with external qubit cpuminer # step-by-step instructions for cloudmining on a linux droplet at digitalocean # Create your cheap linux virtual server (VPS) in the cloud in 55seconds # Buy 5$ droplet e.g. at digital ocean http://tiny.cc/digocean NL USA Singapur # As this is solomining, you need to have a wallet ready. # So first head over to my manual how to install the walletd # https://bitcointalk.org/index.php?topic=460178.msg5350156#msg5350156 (#16) # as I commented out the instructions ... if you are in a hurry, then you # can mark that whole posting, and copy it in one go into your ssh shell # or you go slow, for observing and learning # compiling the wallet takes a loooong time. Do something else. # E.g. open a second ssh to the same droplet, and already start with the miner: # Download, and build the qubitminer git clone https://github.com/qubitcoin/QubitCoin-cpuminer cd QubitCoin-cpuminer chmod +x autogen.sh ./autogen.sh ./configure CFLAGS="-O3" make cd ~ ~/QubitCoin-cpuminer/minerd --help # If in the other shell, the wallet is still not ready, # WAIT for that. Finish the wallet instructions first. # THEN we replace the wallet's conf file by one # which is appropriate for your qubit standalone mining # switch off the wallet mining --> gen = 0 # change algo to qubit --> algo = qubit # manually now: # nano ~/.myriadcoin/myriadcoin.conf # to exit nano saving the file, press ctrl-x y enter # OR ... # ... easier ... deleting the conf file rm ~/.myriadcoin/myriadcoin.conf # and create a new conf file (COPY THIS BLOCK IN ONE GO!) cat << "CONFIG" >> ~/.myriadcoin/myriadcoin.conf listen=1 maxconnections=32 rpcuser=LOCALUSER rpcpassword=VERYSECURESUPERLONGSUPERSAFEPASSWORD server=1 rpcallowip=192.168.0.* algo=qubit gen=0 CONFIG # now stop the wallet server with ~/myriadcoin/myriadcoind stop # or in a rougher way with killall myriadcoind # then start the wallet again: ~/myriadcoin/myriadcoind & # and check if it is sync'ing / sync'ed: ~/myriadcoin/myriadcoind getmininginfo # now we can finally start the Qubitminer: screen ~/QubitCoin-cpuminer/minerd -a qubit -u LOCALUSER -p VERYSECURESUPERLONGSUPERSAFEPASSWORD -o http://127.0.0.1:10889 # leave the 'screen' with # ctrl-a # d # and get it back with # screen -r # leave the 'screen' with # ctrl-a # d # and to close the ssh shell for now, type # exit # Perhaps in a day, or a week, check again, how lucky you were: ~/myriadcoin/myriadcoind getbalance # If it works out financially, you can clone the droplet. We are allowed to have 5 droplets at digitalocean. Please stay honest. # And why not send me some myriadcoins to MAKikmtAosj3fAsYyjgVQ4sBJnyVF9sSvJ for this tutorial: ~/myriadcoin/myriadcoind sendtoaddress MAKikmtAosj3fAsYyjgVQ4sBJnyVF9sSvJ 500 ThankYouForYourTutorial # or in other currencies at www.tiny.cc/drakointip # http://files.overclock.net/images/smilies/thumb.gif (https://bitcointalk.org/index.php?action=profile;u=184146;sa=showPosts) Title: Re: cpumining in the cloud Post by: drakoin on March 14, 2014, 04:57:56 PM # QUARK MINING in the cloud
# step-by-step instructions for cloudmining on a linux droplet at digitalocean # Create your cheap linux virtual server (VPS) in the cloud in 55seconds # Buy 5$ droplet e.g. at digital ocean http://tiny.cc/digocean NL USA Singapur apt-get update apt-get install unzip screen mkdir ~/stonefoz cd ~/stonefoz wget http://stonefoz.myfastmail.com/cpuminer-quark3.zip unzip cpuminer-quark3.zip cd cpuminer-quark3 chmod +x autogen.sh ./autogen.sh CFLAGS="-O3 -msse2" ./configure make cp minerd .. cd ~ cat << "SCRIPT" >> ~/startminer.sh ~/stonefoz/minerd -a quark --url=stratum+tcp://POOL-URL:PORT --userpass=WWWLOGIN.WORKERNAME:x SCRIPT chmod +x ~/startminer.sh screen ~/startminer.sh # press CTRL-A and D to leave, and screen -r to come back # if this was useful: # tip stonefoz https://bitcointalk.org/index.php?topic=260031.msg2974963#msg2974963 # tip me, drakoin --> www.tiny.cc/drakointip or gift me information --> www.tiny.cc/drakoinhints Title: Re: cpumining in the cloud Post by: herschie on March 14, 2014, 10:49:59 PM hi i tried this i have a vserver
but i get the message stratum.suscribed timeout got an idea ?? Title: Re: cpumining in the cloud Post by: drakoin on March 15, 2014, 09:24:44 AM got an idea ?? Check your typing? Does the worker exist? Try another pool? Compare with the "getting started" example of the pool.Please post your "minerd -a ..." command, and the exact error message. |