Thursday, May 15, 2014

P2Pool Node Creation Guide for Linux

Here’s the easy guide to save you some trouble digging through the Linux documentation.


If you’d like to see the results, point your miner to my P2Pool: monarch-hi.no-ip.biz:9171 with username of your payment address. Password doesn’t matter. If you’d like to build your own, here’s the quick and dirty instructions.

I’ll assume you already have the modded cgminer up and running. If not here is an excellent guide.



Step 1: Install and compile vertcoin.

sudo apt-get install build-essential

sudo apt-get install libssl-dev

sudo apt-get install libboost-all-dev

sudo apt-get install git

git clone https://github.com/vertcoin/vertcoin

cd ~/vertcoin/src

make -f makefile.unix

Step 2: Set up vertcoin.conf.

nano ~/.vertcoin/vertcoin.conf



Paste the following then save vertcoin.conf using Ctrl + o, then Ctril + x in nano


server=1

gen=0

rpcport=5899

rpcallowip=127.0.0.1

rpcuser=vertcoin

rpcpassword=x

addnode=192.241.125.215

addnode=192.241.125.216

addnode=192.241.125.217

addnode=192.241.125.218

addnode=192.241.125.219

addnode=192.241.125.220

addnode=54.201.249.125

addnode=108.62.111.138:5889

addnode=54.201.240.25:5889

addnode=172.240.89.250:5889

addnode=50.190.0.70:5889

addnode=31.135.187.9:5889

addnode=198.27.66.162:5889

addnode=23.19.26.138:5889

addnode=144.76.226.151:5889

addnode=54.194.7.98:33761

addnode=125.115.76.67:5889

addnode=163.125.57.68:5889

addnode=180.142.110.247:5889

addnode=58.214.71.66:5889

addnode=125.112.244.84:50592

addnode=113.53.237.178:5889

addnode=23.107.61.194:5889

addnode=54.236.189.3:5889

addnode=172.241.151.154:5889

addnode=61.133.107.171:5889

addnode=171.211.52.150:5889

addnode=61.156.57.71:5889

addnode=218.85.134.178:5889

addnode=113.243.137.220:5889

addnode=212.7.200.9:5889

addnode=107.150.50.74:62370

addnode=117.30.44.152:5889

addnode=27.155.245.129:5889

addnode=222.212.42.72:5889

addnode=171.106.196.0:13499

addnode=107.150.49.74:5889

addnode=23.83.200.170:5889

addnode=76.72.163.54:5889

addnode=218.93.134.55:5889

addnode=142.91.231.50:5889

addnode=222.188.177.57:50775

addnode=61.164.87.130:26084

addnode=23.110.213.50:5889

addnode=222.188.177.58:5889

addnode=162.243.249.73:5889

addnode=123.137.244.39:5889

addnode=218.93.134.126:50580

addnode=182.236.160.83:5889

addnode=180.116.158.48:5889

addnode=54.196.183.56:41230

addnode=184.72.155.72:46586

addnode=50.19.51.19:36500

addnode=54.211.214.162:34151

addnode=184.72.186.246:47525

addnode=54.221.58.60:47161

addnode=54.211.198.34:57649

addnode=50.17.89.200:60650

addnode=54.221.118.164:55117

addnode=54.197.126.5:57311

addnode=222.188.179.28:49283

addnode=180.116.42.234:51106

addnode=27.38.71.233:5889

addnode=222.188.178.217:52151

addnode=54.197.77.13:57579

addnode=54.197.3.73:60394

addnode=54.197.76.193:33971

addnode=27.13.74.181:56003

addnode=23.106.56.18:5889

addnode=218.93.135.98:49978

addnode=207.12.89.54:34870

addnode=54.201.249.125



Step 3: Install P2Pool.

cd ~

sudo apt-get install python-zope.interface python-twisted python-twisted-web

git clone https://github.com/donSchoe/p2pool-vtc

cd ~/p2pool-vtc/py_modules/vertcoin_scrypt

sudo python setup.py install



Step 4: Install enhanced front end.

cd ~

git clone https://github.com/hardcpp/P2PoolExtendedFrontEnd

cp -R P2PoolExtendedFrontEnd/* p2pool-vtc/web-static/



Step 5: Run vertcoind and p2pool using screen.

sudo apt-get install screen

screen

cd ~/vertcoin/src

vertcoind –server

Ctrl + a, then c will create a new screen

cd ~/p2pool-vtc

python run_p2pool.py –net vertcoin -a YOUR_PAYMENT_ADDRESS

Ctrl +a, then c for new screen



Step 6: Point cgminer (vertcoin version) to your P2Pool node

Go to pool settings in cgminer and add 127.0.0.1:9171, username is your payment address, password doesn’t matter or using the command:

cgminer -o 127.0.0.1:9171 -u YOUR_PAYMENT_ADDRESS



Step 7: Allow other nodes to connect if you’re behind a router

Go to your router settings and forward ports 9171 and 9346 to your rig.


Step 8: Monitor progress

Open your rig IP address on port 9171(9172,9174) in your favorite browser.
http://www.guugll.eu:9174/static/


Exchanges


Cryptsy: http://cryptsy.com/


Coins-e:http://coins-e.com/


Bter: http://bter.com/


source: http://www.reddit.com/r/vertcoin/comments/1z25fl/p2pool_node_creation_guide_for_linux/



P2Pool Node Creation Guide for Linux

No comments:

Post a Comment