How to solo mining?

This guide will assist you in setting up a solo mining on a Linux Server running Ubuntu 14.04 (Use at your own risk).

Requirements :

  • A VPS running Linux Ubuntu 14.04
  • Software Cpuminer-multi

 

Login VPS as root ubuntu terminal by Putty.

Commands for basic setup :

  • apt-get update
  • apt-get install git ntp make g++ gcc autoconf cpp ngrep iftop sysstat
  • apt-get install build-essential libtool automake autotools-dev autoconf pkg-config libssl-dev libgmp3-dev libevent-dev bsdmainutils
  • apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev
  • add-apt-repository ppa:bitcoin/bitcoin
  • apt-get update
  • apt-get install libdb4.8-dev libdb4.8++-dev

 

Commands for clone bsgcoind :

 

Content of bsgcoin.conf :

  • rpcuser=YOUR_USER_NAME
  • rpcpassword=YOUR_PASSWORD
  • rpcport=36369
  • rpcallowip=127.0.0.1
  • listen=1
  • server=1
  • addnode=212.237.15.163
  • addnode=80.211.36.93
  • addnode=80.211.165.110
  • addnode=80.211.25.202
  • addnode=80.211.80.158
  • addnode=80.211.144.224
  • addnode=80.211.161.12
  • addnode=80.211.83.233

 

Start bsgcoind :

  • ./bsgcoind

 

Commands for clone and setup Cpuminer :

  • apt-get install build-essential libcurl4-openssl-dev git automake libtool libjansson* libncurses5-dev libssl-dev
  • git clone --recursive https://github.com/tpruvot/cpuminer-multi.git
  • cd /root/deps/cpuminer-multi
  • ./autogen.sh
  • ./configure CFLAGS="-march=native" --with-crypto --with-curl
  • make

 

Commands for run Cpuminer :

  • cd /root/deps/cpuminer-multi
  • ./cpuminer -a c11 --url http://127.0.0.1:36369 --user YOUR_USER_NAME --pass YOUR_PASSWORD --threads 1