WARNING: THESE INSTRUCTIONS ARE FOR ADVANCED USERS.
P2POOL WORKS SUCCESSFULLY WITH BITCOIN, LITECOIN AND MANY OTHER ALTCOINS INCLUDING MEDITERRANEANCOIN BUT P2POOL IS NOT EASY TO USE. IF YOU NEED HELP, PLEASE POST IN THIS FORUM YOUR QUESTIONS, ALWAYS INCLUDING LOG OUTPUT AND MAXIMUM INFORMATION ABOUT ALL THE STEPS YOU HAVE PERFORMED AND WE WILL TRY TO HELP TO OUR BEST. THANK YOU AND HAVE FUN!!!You are a Linux user, please refer also to the README here :
https://github.com/mrtexaznl/p2poolHow to setup a MED p2pool on Ubuntu 12.04 running inside VirtualBox on WindowsP2Pool is a decentralized mining pool that works by creating a peer-to-peer network of miner nodes.
Download Virtual Box software - https://www.virtualbox.org/wiki/DownloadsInstall on you Windows pc.
Download a premade Ubuntu 12.04 Virtual Box -
http://virtualboxes.org/images/ubuntu/http://sourceforge.net/projects/virtualboximage/files/Ubuntu%20Linux/12.04/ubuntu_12.04-x86.7zExtract ubuntu_12.04-x86.7ze.g C:\Program Files\Oracle\VMs\ubuntu_12.04
Run the VMNavigate where you just extracted Ubuntu and double click on ubuntu_12.04.vbox or the .vdi
Change network adaptor to Bridged modeWhen the VM gets to the Ubuntu splash screen, hover over the network adapter icon in the bottom right of the VM window and
right click and select 'Network Adapters' then change 'Attached to' to Bridged Mode.
Also change 'Promiscuous Mode' to Allow all and reboot the VM to get a local IP address you can forward ports to.
Log in to Ubuntu(username/password):
ubuntu/reverseModified code for p2pool can be found here - https://github.com/mrtexaznl/p2poolInstructions for Ubuntu 12.04in a terminal window type:sudo apt-get update
sudo apt-get install python-software-properties screen git python-rrdtool python-pygame python-scipy
sudo apt-get install python-twisted python-twisted-web python-imaging build-essential libglib2.0-dev libglibmm-2.4-dev
sudo apt-get install python-dev libboost-all-dev libdb++-dev autoconf automake ncurses-dev
sudo apt-get install python-zope.interface python-twisted python-twisted-web
Install Mediterraneancoin Daemon:wget
http://www.mediterraneancoin.org/downloads/medcoin-linux-v0.8.5.2.tgzmkdir mediterraneancoin
cd mediterraneancoin
tar -xvzf ../medcoin-linux-v0.8.5.2.tgz
cd ..
mkdir ~/.mediterraneancoin
nano -w ~/.mediterraneancoin/mediterraneancoin.conf
Add this text into ~/.mediterraneancoin/mediterraneancoin.confserver=1
daemon=1
rpcuser=rpcadmin
rpcpassword=WRITE_A_LONG_RANDOM_PASSWORD
addnode=node1.mediterraneancoin.org
addnode=node2.mediterraneancoin.org
addnode=node3.mediterraneancoin.org
addnode=node4.mediterraneancoin.org
Fire Up mediterraneancoin daemon:mediterraneancoin/32/mediterraneancoind
wait for mediterraneancoind to sync.you can query the block at which it has synced in this way:
mediterraneancoin/32/mediterraneancoind getinfo
Get p2pool modified code for mediterraneancoin:cd ~/ ; git clone
https://github.com/mrtexaznl/p2poolcd p2pool
cd medcoin_hybrid
sudo python setup.py install
Start up your P2pool for mediterraneancoin:cd ~/p2pool
python run_p2pool.py --net mediterraneancoin -a
YourMEDPayoutAddress
it will take time to refresh/load all the data!
you will see something like this:
Loading shares...
1000
2000
....
it depends on the power of your pc; it may take even a few hours to sync! please wait.
also, if you restart p2pool, it will need to reload the shares and spend the same amount of time. then, start mcproxy on your windows pc:
java -jar mcproxy.jar -p 9375 -a
start the modified cgminer under windows:
cgminer -o
http://localhost:8080 -u test -p test -Q 0
or the modified bfgminer:
sudo ./bfgminer --submit-stale -o
http://localhost:8080 -u test -p x -Q 0 -S all -T --verbose
as username and password you can leave test/test.