Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: weedoge on February 11, 2014, 09:49:18 PM



Title: Cloud mining Riecoin!
Post by: weedoge on February 11, 2014, 09:49:18 PM
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 (https://www.digitalocean.com/?refcode=a961beb6db90) if you don't mind using my reference link :)

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 (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) 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 <your_username_here> sudo
Change to your new user by using
Code:
su <your_username_here>
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 <wallet_console_command>
for example:
Code:
./riecoind getmininginfo


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