Install Required Packagessome commands do not put sudo!$cd ~
$mdkir pool
sudo apt-get update
$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
$sudo add-apt-repository ppa:bitcoin/bitcoin
$sudo apt-get update
$sudo apt-get install libdb4.8-dev libdb4.8++-dev
$sudo curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh
$source ~/.profile
$nvm install 0.10.25
$nvm use 0.10.25
$git clone https://github.com/inflationcoin/inflationcoin.git
Compile wallet daemon$cd inflationcoin/
$cd inflationcoin/src/leveldb
$chmod 775 build_detect_platform
$sudo make libleveldb.a libmemenv.a
$cd ..
$make -f makefile.unix USE_UPNP=1 USE_QRCODE=1 USE_UPNP=1
$sudo ./InflationCoind
You will get a message stating there is no configuration file.
$sudo gedit ~/.InflationCoin/InflationCoin.conf
rpcuser=youruser
rpcpassword=yourpassword
rpcallowip=*
rpcport=11371
daemon=1
server=1
gen=0
addnode= 91.134.120.210
addnode= 185.122.58.10
addnode= 136.243.40.220
$sudo ./InflationCoind
you can compile qt wallet if you want
$cd ..
$qmake USE_UPNP=-
$make
$cd ~/pool
$git clone https://github.com/UNOMP/unified-node-open-mining-portal.git unomp
$cd unomp
$cp config.json.example config.json
$ifconfig
192.168.1.105 -- Its my wi-fi lan ip(you must copy your inet addr from your Wi-Fi or ethernet if you use ethernet).
$sudo gedit config.json
modify website ip
"siteTitle": "Pool name"
"stratumHost": "if you set no-ip<< or external IP"
"port": 8080 > must be above from port 6000
we have to make new wallet address
$cd ~/pool/inflationcoin/src/
$./InflationCoind getnewaddress
iD9Jnr5PqLkvGY2BN2fVHMPN8yEv2W18EZ <
I received this address$cd ~/pool/unomp/pool_configs/
$cp litecoin.json.example Inflationcoin.json
$sudo gedit inflationcoin.json
"enabled": true,
"coin": "inflationcoin.json",
"auxes": [],
"address": "iD9Jnr5PqLkvGY2BN2fVHMPN8yEv2W18EZ", << your wallet
payment interval ... 600 = 10 minutes
minimumpayment...
change all daemons and put your ip and port from ~/.Inflationcoin/Inflationcoin.conf in my case was "11371"
$cp ~/pool/unomp/coins/dash.json ~/pool/unomp/coins/inflationcoin.json
$sudo gedit ~/pool/unomp/coins/inflationcoin.json
inflationcoin.json edit
{
"name": "inflationcoin",
"symbol": "IFLC",
"algorithm": "x11",
"mposDiffMultiplier": 256
}
$sudo gedit ~/pool/unomp/init.js
"search for setrlimit then set from soft:100000 hard:100000 to soft:1000 hard:1000 sand and close"
we need install REDIS$cd ~/pool
$sudo apt-get install build-essential tcl
$curl -O http://download.redis.io/redis-stable.tar.gz
$tar xzvf redis-stable.tar.gz
$cd redis-stable
$make
$make test
$sudo make install
$cd utils/
$sudo ./install_server.sh
enter
enter
enter
enter
enter
enter :)
$sudo service redis_6379 start
Test$redis-cli
>save
ctrl+c
If you want to stop redis$sudo service redis_6379 stop
To set Redis to automatically start at boot, run:$sudo update-rc.d redis_6379 defaults
$cd ~/pool/unomp/
now we need to wait the wallet sync!
open a new terminal to check if wallet is sync$cd ~/pool/inflationcoin/src/
$sudo ./InflationCoind getinfo
or
$sudo ~/pool/inflationcoin/src/InflationCoind getinfo
When the wallet finishes syncing:$cd ~/pool/unomp/
$npm install posix
$npm update
$node init.js
all without sudo! "npm and node init.js"Video of this tutorial:
https://www.youtube.com/watch?v=xsgZjgLcwH4Good luck!
it is done!
WOW!! hard
Thanks!
Donations: 1MoTYQvyW9zQWFxNc2gi4GSLHrjWK1AWCM
references:
http://blockgen.net/setup-your-own-mining-pool/https://www.digitalocean.com/community/tutorials/how-to-install-and-use-redis