Bitcoin Forum

Other => Beginners & Help => Topic started by: Shadow383 on March 09, 2012, 07:33:27 PM



Title: Running P2Pool proxy on a VPS?
Post by: Shadow383 on March 09, 2012, 07:33:27 PM
Hi
Long time miner/trader etc here, never seen a need for an account here before though  :D

I'm looking at the practicalities of moving my mining over to P2Pool. My current setup is as follows:

-Home PC @ 1.18Ghash/s (2x5970, undervolted & underclocked for minimal power usage)
-Servers (offsite) @ 4.4Ghash/s (3 rigs with 4x5870 cards, undervolted - technically free power as they're at my workplace  - these are used for CFD using OpenCL, but in the 20 or so hours per day they're not used for that they're mining ;) )
-Mining contracts @ 5Ghash/s (bought last year when BTC prices were more favourable so probably running a loss currently)

At the moment, I mine on slush's pool, abcpool, eligius and BTCGuild PPS (each rig has a different failover order so my hashes are spread around a bit)

Ideally, I'd like to help support the future of bitcoin in the form of P2Pool, but I've been put off by a couple of things:
-Extra software requirement - Fairly easy to install CGminer discreetly on the work PCs and plead ignorance/virus/whatever, yes I know, I'm a terrible person :P Also the mining contract systems as far as I understand don't yet support P2Pool.
-Systems using their own local wallet - I want to collect all of my coins in one place like I do currently for the sake of convenience.
-Don't want to forward ports at my home address due to the security requirements of my network.

Basically what I want to do is this:
-Rent a cheap-ish VPS somewhere, Ideally accepting bitcoins since half the reason I'm doing this is to support the community.
-Install P2Pool on the VPS as a proxy, and somehow set it to pay out directly to a payment address on my home PC.
-Direct all of my mining hashpower to the VPS.
-?????
-PROFIT!

Any suggestions on how I might go about doing this? I have jack-all experience in setting up servers unfortunately.


Title: Re: Running P2Pool proxy on a VPS?
Post by: Shadow383 on March 09, 2012, 10:14:38 PM
VPN? I've clearly been awake for too long - VPS!
Or any other type of server :P
I'll have a hunt around on the main board, still can't post there yet though  ::)


Title: Re: Running P2Pool proxy on a VPS?
Post by: Red Emerald on March 09, 2012, 10:43:45 PM
p2pmining.com is cheaper than a VPS.  You don't have as much control as running your own p2pool node, but it is pretty easy to point your miners there.


Title: Re: Running P2Pool proxy on a VPS?
Post by: Shadow383 on March 10, 2012, 02:15:14 PM
p2pmining.com is cheaper than a VPS.  You don't have as much control as running your own p2pool node, but it is pretty easy to point your miners there.
The thing is, if I want low-fee mining and just low-fee mining, then there are plenty of pools doing that already.
The point in this is that I want to mine as a part of p2pool without huge extra expense for software, and I can bring enough hardware online at low enough cost that a VPS or even a cheap dedi server won't eat into my profits much.
Looking for anyone who can offer advice/experience to help me get the whole thing running. May even be willing to pay for someone's time to help out  :P


Title: Re: Running P2Pool proxy on a VPS?
Post by: check_status on March 10, 2012, 07:29:42 PM
x10hosting is pretty cheap. $4 pay as you go hosting with root access. Not a VPS but very cheap for root. They also offer an unmanaged VPS for $9, x10vps, though not sure if it is pay as you go.


Title: Re: Running P2Pool proxy on a VPS?
Post by: Red Emerald on March 10, 2012, 09:19:29 PM
p2pmining.com is cheaper than a VPS.  You don't have as much control as running your own p2pool node, but it is pretty easy to point your miners there.
The thing is, if I want low-fee mining and just low-fee mining, then there are plenty of pools doing that already.
The point in this is that I want to mine as a part of p2pool without huge extra expense for software, and I can bring enough hardware online at low enough cost that a VPS or even a cheap dedi server won't eat into my profits much.
Looking for anyone who can offer advice/experience to help me get the whole thing running. May even be willing to pay for someone's time to help out  :P
p2pmining is p2pool.  He just runs the daemons for you and does payouts based on diff 1 shares.


Title: Re: Running P2Pool proxy on a VPS?
Post by: Shadow383 on March 10, 2012, 11:37:47 PM
x10hosting is pretty cheap. $4 pay as you go hosting with root access. Not a VPS but very cheap for root. They also offer an unmanaged VPS for $9, x10vps, though not sure if it is pay as you go.

Going to look into this, cheers.
Anyone know roughly how much ram/cpu time I'll be likely to use doing this at 10-20Ghash/s? :P


Title: Re: Running P2Pool proxy on a VPS?
Post by: thirdlight on March 11, 2012, 08:13:57 PM
You are absolutely right. A VPS running p2pool will let all your miners mine directly to a wallet that is on none of them.

This is what I did, there's probably better ways...
  • Get your vps. A Momento (https://momentovps.com) "Starter" is fine. phantomcircuit is helpful with setup. If you want, I can walk you through this bit. The next steps assume a working ubuntu vps.
  • Install everything you need. Paste this one line:
Code:
sudo apt-get install git build-essential libssl-dev libboost-all-dev libqrencode-dev $(apt-cache search libdb|cut -d' ' -f1|egrep '\..\+\+-dev'|tail -1) libglib2.0-dev python-zope.interface python-twisted python-twisted-web python-rrdtool python-pygame python-scipy python-imaging
    and enter the password when prompted.

  • Hang on, Thiago's already done this... (https://bitcointalk.org/index.php?topic=62842.0)

Is it the vps that's the problem, or the p2pool bits? Let me know where you need detail & I'll try to help.  :)