Post
Topic
Board Announcements (Altcoins)
Re: [ANN][RIC] Riecoin, new prime numbers POW coin, launches Feb 11, 2014
by
wizzardTim
on 11/02/2014, 17:07:57 UTC
cloud mining tutorial......pleaaaaaaaaaase

Sign up at Digitalocean with this link[/url] if you don't mind using my reference link Smiley

Use the voucher code SSD2014 (Also in my sig) to get $10 credit for free
Start one of the smallest droplets available with Debian 7.0 (This can be resized later, but you get charged full rate at all times your droplets are in existence, so it's best to keep them small until you're mining.)

Connect to your droplet through Putty or any other SSH client, now you want to prepare the server for mining...
Please note, all commands here can simply be copied and pasted by simply right clicking in the Putty window and pressing enter. It's safest to only do one line at a time unless you're sure what you're doing.

Use Putty to create a new user and add to the sudoers group, as below.
Code:
adduser USERNAMEYOUCHOSE sudo
Change to your new user by using
Code:
su USERNAMEYOUCHOSE
Code:
cd ~


Install dependencies
Code:
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 automake


Compile/install Riecoin
Code:
git clone https://github.com/riecoin/riecoin.git
cd riecoin/src
make -f makefile.unix
chmod +x riecoind

...and create the conf file
Code:
mkdir ~/.riecoin
nano ~/.riecoin/riecoin.conf
Press ctrl+X to exit once you've pasted or typed the config details in.
Example config:
Code:
rpcuser=changethisusername
rpcpassword=changethispassword
rpcport=28332
port=28333
rpcallowip=127.0.0.1
server=1
daemon=1


Compile/install Miner
Code:
cd ~
git clone https://github.com/gatra/cpuminer-rminerd.git && cd cpuminer-rminerd
./autogen.sh
./configure CFLAGS="-O3"
make

ALL DONE SETTING UP! Now you just have to wait for Riecoin to actually be released and compile it and the miner! Have fun guys~


Run Riecoin:
Code:
cd ~/riecoin/src && ./riecoind

Then start the miner
Code:
cd ~/cpuminer-rminerd
./minerd -o localhost:28332 -u changethisusername -p changethispassword
Username and password should be what you set in the conf!!! (I'm not sure if this command is correct for starting Riecoin cpuminer...)

Please point out any mistakes I might have made.
__________________________________
PS. To save your credit, remember to
1) shutdown your droplet from ssh using
Code:
sudo shutdown -h now
2) take a snapshot of your droplet from your Digitalocean droplet settings panel
3) delete your droplet!

Now you can recreate this droplet, with all the same data and users as before when you want to start mining (I suggest using 2 cores AT LEAST. There is a limit of 5 droplets at a time).
Be aware that simply turning off your droplet doesn't stop the cost from running up.

Thank you very much for your time and explanation!

I'd like to ask you how I can see my current balance and if I need to stop mining in order to view it.