Bitcoin Forum
May 12, 2024, 07:59:52 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: cpumining in the cloud  (Read 886 times)
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
February 25, 2014, 02:52:55 AM
Last edit: March 15, 2014, 09:25:58 AM by drakoin
 #1

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 - solo mining with external qubit cpuminer
#3 Quark mining, with a pool

no sign of a signature
1715543992
Hero Member
*
Offline Offline

Posts: 1715543992

View Profile Personal Message (Offline)

Ignore
1715543992
Reply with quote  #2

1715543992
Report to moderator
1715543992
Hero Member
*
Offline Offline

Posts: 1715543992

View Profile Personal Message (Offline)

Ignore
1715543992
Reply with quote  #2

1715543992
Report to moderator
1715543992
Hero Member
*
Offline Offline

Posts: 1715543992

View Profile Personal Message (Offline)

Ignore
1715543992
Reply with quote  #2

1715543992
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715543992
Hero Member
*
Offline Offline

Posts: 1715543992

View Profile Personal Message (Offline)

Ignore
1715543992
Reply with quote  #2

1715543992
Report to moderator
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
February 25, 2014, 02:59:15 AM
Last edit: February 25, 2014, 03:20:38 AM by drakoin
 #2

#
# myriadcoin
# 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


#

no sign of a signature
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
March 14, 2014, 04:57:56 PM
Last edit: March 14, 2014, 05:10:37 PM by drakoin
 #3

# 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

no sign of a signature
herschie
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 14, 2014, 10:49:59 PM
 #4

hi i tried this i have a vserver

but i get the message
stratum.suscribed timeout
got an idea ??
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
March 15, 2014, 09:24:44 AM
 #5

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.

no sign of a signature
Pages: [1]
  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!