Author

Topic: Cloud mining Riecoin! (Read 1871 times)

member
Activity: 98
Merit: 10
February 11, 2014, 04:49:18 PM
#1
Updated guide now I've got my mining working!! If you have any problems just message me.

Sorry if this is a little messy, but here it has it's own thread so it doesn't get lost in the Riecoin thread!
Block rewards start soon, so get set up!!!


cloud mining tutorial......pleaaaaaaaaaase

Sign up at Digitalocean with this link 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 a droplet with AT LEAST 2GB ram, needed for compiling, with Debian 7.0 (This can be resized later, but you get charged full rate at all times your droplets are in existence.)

Connect to your droplet through Putty or any other SSH client, now you want to prepare the server for mining...
Please note, most commands here can simply be copied and pasted by simply right clicking in the Putty window and pressing enter, make sure to enter your own username where relevant though, and other details. 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  sudo
Change to your new user by using
Code:
su 
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 libcurl4-openssl-dev


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
addnode=194.97.156.59
addnode=76.102.71.50
addnode=79.135.200.61
addnode=162.248.98.162
addnode=64.79.107.5
addnode=192.241.129.169
addnode=173.193.48.174
addnode=107.170.26.188
addnode=67.225.172.77
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


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

Execute commands:
In the same folder type
Code:
./riecoind 
for example:
Code:
./riecoind getmininginfo


Then start the miner
Code:
cd ~/cpuminer-rminerd
./rminerd -o localhost:28332 -u changethisusername -p changethispassword
Jump to: