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.
1. 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
2. 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
3. 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
go to website http://your-ip/
Note: if can’t connect to website or stratum Host check your firewall and allow port
sudo ufw allow 80
sudo ufw allow 3333
Cloud Server for Pool: ☞ https://m.do.co/c/427fd48a9ec5
Coupon Code: LowEndBox
☞ An Introduction and Guide to Masternodes
☞ How to setup Masternode from Beginners
☞ GeekCash: The Potential of Cryptocurrency
☞ 3 Cryptocurrencies To Earn You Money While You Sleep in 2018