Post
Topic
Board Mining (Altcoins)
Topic OP
Set up a stratum mining server for Capstone
by
LPape
on 10/05/2016, 22:16:20 UTC
Start with linux ubuntu 14.04 do not update until after you finish the 3 sets.


Part 1: Building and compiling the wallet
Part 2: Building and configuring the stratum server
Part 3: Building and configuring the Web Front End and final testing

Part 1: Building and compiling the wallet

Dependencies you will need (run these commands in this order before you start to make sure everything will work as expected):

sudo apt-get install git screen watch

sudo apt-get install build-essential libboost-all-dev libcurl4-openssl-dev libdb5.1-dev libdb5.1++-dev mysql-server

This example I am using password for my sql password

sudo apt-get install python-twisted python-mysqldb python-dev python-setuptools python-memcache python-simplejson python-pylibmc

sudo easy_install -U distribute

sudo apt-get install memcached php5-memcached php5-mysqlnd php5-curl php5-json libapache2-mod-php5

sudo apache2ctl -k stop; sleep 2; sudo apache2ctl -k start


Download open source coding

git clone https://github.com/CapstoneDigitalMining/Capstone-src

permissions

cd  Capstone-src/src/leveldb

chmod a+x build_detect_platform

cd ..

make -f makefile.unix USE_UPNP=-


Make config file

cd .Capstone

cd Capstone.conf


It should look like this

rpcuser=username
rpcpassword=password
rpcallowip=127.0.0.1
rpcport=9332
daemon=1
server=1
gen=0
listen=1
addnode=104.131.163.132


Start server

cd  Capstone-src/src/
./Capstoned