Instruction1. To register for VPS hosting from link
https://www.digitalocean.com/2. Create "Droplet" Ubuntu 14 x64 / 1GB / 1vCPU / 25 GB SSD
3. Connect to server by SSH
4. In the console in turn type (copy-paste) the following commands:
Create a directory in which the pool software will be located.sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev
sudo apt-get install libboost-all-dev git npm nodejs nodejs-legacy libminiupnpc-dev redis-server
sudo apt-get install libdb-dev libqrencode-dev qt4-qmake libqtgui4 libqt4-dev
sudo apt-get install libminiupnpc-dev libminiupnpc8 libboost1.48-all-dev
sudo apt-get install curl ntp unzip libdb++-dev libboost-all-dev libqrencode-dev aptitude && aptitude install miniupnpc
Install the daemon bitcoindsudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get install bitcoind
sudo apt-get install libdb4.8-dev libdb4.8++-dev
sudo curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh
Create a configuration file bitcoin.conf mkdir ~/.bitcoin/ && nano .bitcoin/bitcoin.conf
rpcuser=*your nickname*
rpcpassword=*your password*
rpcport=8332
server=1
daemon=1
Go to the pool directory and run the daemoncd /home/pool/ && bitcoind
Clone the repository of the pool itselfgit clone https://github.com/UNOMP/unified-node-open-mining-portal.git unomp
Customize the file config.jsoncp config.json.example config.json && nano config.json
{
"logLevel": "debug",
"logColors": true,
"cliPort": 17117,
"clustering": {
"enabled": true,
"forks": "auto"
},
"defaultPoolConfigs": {
"blockRefreshInterval": 1000,
"jobRebroadcastTimeout": 55,
"connectionTimeout": 600,
"emitInvalidBlockHashes": false,
"validateWorkerUsername": true,
"tcpProxyProtocol": false,
"banning": {
"enabled": true,
"time": 600,
"invalidPercent": 50,
"checkThreshold": 500,
"purgeInterval": 300
},
"redis": {
"host": "127.0.0.1",
"port": 6379,
"db": 0,
"password": ""
}
},
"website": {
"enabled": true,
"host": "Your ip VPS",
"siteTitle": "UNOMP Pool",
"port": 80,
"stratumHost": "Your ip VPS",
"stats": {
"updateInterval": 60,
"historicalRetention": 43200,
"hashrateWindow": 300,
"graphColors": ["#058DC7", "#50B432", "#ED561B", "#DDDF00", "#24CBE5", "#64E572",
"#FF9655", "#FFF263", "#6AF9C4"]
},
"adminCenter": {
"enabled": true,
"password": "your password"
}
},
"redis": {
"host": "127.0.0.1",
"port": 6379,
"db": 0,
"password": ""
},
"switching": {
"switch1": {
"enabled": true,
"algorithm": "sha256",
"ports": {
"3333": {
"diff": 10,
"varDiff": {
"minDiff": 16,
"maxDiff": 512,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30
}
}
}
},
"switch2": {
"enabled": false,
"algorithm": "scrypt",
"ports": {
"4444": {
"diff": 20,
"varDiff": {
"minDiff": 10,
"maxDiff": 30,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30
}
}
}
},
"switch3": {
"enabled": false,
"algorithm": "x11",
"ports": {
"5555": {
"diff": 0.001,
"varDiff": {
"minDiff": 0.001,
"maxDiff": 1,
"targetTime": 15,
"retargetTime": 60,
"variancePercent": 30
}
}
}
}
},
"profitSwitch": {
"enabled": false,
"updateInterval": 600,
"depth": 0.90,
"usePoloniex": true,
"useBittrex": true
}
}
Customize the file bitcoin.jsoncd pool_configs/ && cp litecoin.json.example bitcoin.json && nano bitcoin.json
{
"enabled": true,
"coin": "bitcoin.json",
"auxes": [],
"address": "Your BTC address",// Address to which mined coins will come
"rewardRecipients": {
"Your BTC address": 1// The percentage that will be charged with the payment
},
"paymentProcessing": {
"enabled": true,
"paymentInterval": 3600,// Payout interval, specified in seconds
"minimumPayment": 10,// Minimum payout
"daemon": {
"host": "127.0.0.1",
"port": 8332,
"user": "your nickname",
"password": "your password"
}
},
"ports": {
"3008": {
"diff": 1000
},
"3032": {
"diff": 5000,
"varDiff": {
"minDiff": 2500,
"maxDiff": 10000,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30
}
},
"3256": {
"diff": 25600
}
},
"daemons": [
{
"host": "127.0.0.1",
"port": 8332,
"user": "your nickname",
"password": "your password"
}
],
"p2p": {
"enabled": false,
"host": "Your ip VPS",
"port": 8332,
"disableTransactions": false
},
"mposMode": {
"enabled": false,
"host": "Your ip VPS",
"port": 3306,
"user": "me",
"password": "mypass",
"database": "db",
"checkPassword": false,
"autoCreateWorker": false
}
}
Install and build redissudo apt-get install build-essential tcl
curl -O http://download.redis.io/redis-stable.tar.gz
tar xzvf redis-stable.tar.gz
sudo service redis_6379 start
Go to the pool directorycd .. && cd .. && cd unomp
We update and install additional packagesStart the poolGo to the pool web page http://your_ip_vps/
-o stratum+tcp://your_ip_vps:3333 -u <WALLET_ADDRESS> -p c=BTC