Skip to content

How to setup own Mining Pool step by step

in#kr

This is a step by step guide on how to setup your own mining pool for things like GeekCash, Bitcoin, Litecoin and other crypto-currencies.

Connect to VPS — Ubuntu which GeekCash is already To install GeekCash Daemon follow the instructions below: https://medium.com/geekcash/how-to-setup-masternode-from-beginners-ea5f60686790

  1. We need install some required packages

Node 8.x.x

sudo apt-get install libevent-pthreads-2.0–5 sudo apt-get install libcurl4-openssl-dev curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs sudo apt-get install -y build-essential sudo add-apt-repository ppa:chris-lea/redis-server sudo apt-get update sudo apt-get install redis-server make sure redis-server work

  1. Install open-node-mining-portal

3.1 Get source

git clone https://github.com/geekcash/node-open-mining-portal.git pool cd pool npm install Before run you must change some configuration — I use FileZilla to edit file thought SFTP

3.2 Change pool/config.json

goto /root/pool rename config_example.json to config.json

edit config.json and change the website configuration to match your server

Save and push change

3.3 Change geekcash.json

Go to root/pool/configs -> rename geekcash_example.json to geekcash.json

return terminus back to root

Create new address:

geekcash-cli getnewaddress pool GLLDUZqZFof4cdrffZd4RmT1V8cKFM4Npz

Go to .geekcash → cat geekcash.conf to show configuration

rpcuser=rKGhy6aC7TPB rpcpassword=ZMGCchzgRUSGtIfCr9CQhRgqylgg4U2J rpcallowip=127.0.0.1 listen=1 server=1 daemon=1 Edit file geekcash.json

Change address and rewardRecipients to your new created pool address

Change user and password to your rpcuser and rpcpassword

Save file and push updated file

3.4 Test pool

Go to pool and run node init

3.5 Install Pm2 to keep pool working

npm install pm2 -g start init.js via pm2 pm2 start init.js — name=”pool”

3.6 Now try mining on new pool

    ·in#kr·by
    $0.00
    2
    Sort: