Bitcoin Forum
August 21, 2017, 11:58:34 PM *
News: Latest stable version of Bitcoin Core: 0.14.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2] 3 4 5 6 7 »  All
  Print  
Author Topic: How to run your own P2Pool in Ubuntu 14.04 LTS with merged mining  (Read 36897 times)
raskul
Sr. Member
****
Offline Offline

Activity: 434



View Profile
June 16, 2014, 12:08:10 PM
 #21

Thanks raskul,

I added to my pool FSC merge mining as well and now I have 11000 FSC Smiley

I just want to ask if anyone finds the idea of providing a VMX image, P2Pool machine interesting.

That way people can just download VMX, grab VMWare Player (free), open the VMX and they are good to go.

needless to say, i'm having troubles setting this up on a VPS - but I will not let it beat me  Cool

Let me know where you get stuck - maybe I have a mistake somewhere or something is not clear.

Just a side note - I have run the scenario and worked ok with the commands above.

i've gone back to scratch twice, each time was my own error and I know where I went wrong... 3rd time lucky - fingers crossed!
if I get totally stuck i'll come begging, as of now the only linux experience I have is building nodes - it sure is a learning curve... i hope to crack this myself, and would rather not come begging lol from the look of it, I shouldn't have a problem; except for stubby fingers and rubbish command line expertise  Grin


ADD: DOH! i did it again. created the user and installed it all in root. someone just shoot me.

tips    1APp826DqjJBdsAeqpEstx6Q8hD4urac8a
1503359914
Hero Member
*
Offline Offline

Posts: 1503359914

View Profile Personal Message (Offline)

Ignore
1503359914
Reply with quote  #2

1503359914
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1503359914
Hero Member
*
Offline Offline

Posts: 1503359914

View Profile Personal Message (Offline)

Ignore
1503359914
Reply with quote  #2

1503359914
Report to moderator
1503359914
Hero Member
*
Offline Offline

Posts: 1503359914

View Profile Personal Message (Offline)

Ignore
1503359914
Reply with quote  #2

1503359914
Report to moderator
1503359914
Hero Member
*
Offline Offline

Posts: 1503359914

View Profile Personal Message (Offline)

Ignore
1503359914
Reply with quote  #2

1503359914
Report to moderator
murdof
Full Member
***
Offline Offline

Activity: 196


View Profile
June 16, 2014, 12:30:02 PM
 #22

You will get pissed off now - but I just added the lazy guy's guide Tongue

Two commands - everything is prepared for you and you are set.

Sorry I made you read all that Tongue

Buy me a beer: 1mrdfyA1GhKmTPhaSkvyq5DBterQ5m7ZK

Run your own P2Pool with Ubuntu 16.04 LTS and merge mining
raskul
Sr. Member
****
Offline Offline

Activity: 434



View Profile
June 16, 2014, 12:45:31 PM
 #23

You will get pissed off now - but I just added the lazy guy's guide Tongue

Two commands - everything is prepared for you and you are set.

Sorry I made you read all that Tongue

no way - i'm doing it myself, if it drives me mad, i'll do it!

tips    1APp826DqjJBdsAeqpEstx6Q8hD4urac8a
murdof
Full Member
***
Offline Offline

Activity: 196


View Profile
June 16, 2014, 12:46:18 PM
 #24

You will get pissed off now - but I just added the lazy guy's guide Tongue

Two commands - everything is prepared for you and you are set.

Sorry I made you read all that Tongue

no way - i'm doing it myself, if it drives me mad, i'll do it!

Just make sure you are logged in as a user and not as root!

Buy me a beer: 1mrdfyA1GhKmTPhaSkvyq5DBterQ5m7ZK

Run your own P2Pool with Ubuntu 16.04 LTS and merge mining
raskul
Sr. Member
****
Offline Offline

Activity: 434



View Profile
June 16, 2014, 12:47:18 PM
 #25

You will get pissed off now - but I just added the lazy guy's guide Tongue

Two commands - everything is prepared for you and you are set.

Sorry I made you read all that Tongue

no way - i'm doing it myself, if it drives me mad, i'll do it!

Just make sure you are logged in as a user and not as root!

ha.ha.ha only did that twice already.  Roll Eyes tell me once more, i'll remember this time  Undecided

tips    1APp826DqjJBdsAeqpEstx6Q8hD4urac8a
newIndia
Legendary
*
Offline Offline

Activity: 1274


View Profile
June 16, 2014, 03:40:04 PM
 #26

You will get pissed off now - but I just added the lazy guy's guide Tongue

Two commands - everything is prepared for you and you are set.

Sorry I made you read all that Tongue

Can P2Pool be profitable for the one who is setting it up on the web server unless he has his own miners ?

murdof
Full Member
***
Offline Offline

Activity: 196


View Profile
June 16, 2014, 03:41:20 PM
 #27

You will get pissed off now - but I just added the lazy guy's guide Tongue

Two commands - everything is prepared for you and you are set.

Sorry I made you read all that Tongue

Can P2Pool be profitable for the one who is setting it up on the web server unless he has his own miners ?

If you mean not to have miners on your own and charge a fee for people to connect to your server, then i doubt it...

Buy me a beer: 1mrdfyA1GhKmTPhaSkvyq5DBterQ5m7ZK

Run your own P2Pool with Ubuntu 16.04 LTS and merge mining
newIndia
Legendary
*
Offline Offline

Activity: 1274


View Profile
June 16, 2014, 03:43:34 PM
 #28

You will get pissed off now - but I just added the lazy guy's guide Tongue

Two commands - everything is prepared for you and you are set.

Sorry I made you read all that Tongue

Can P2Pool be profitable for the one who is setting it up on the web server unless he has his own miners ?

If you mean not to have miners on your own and charge a fee for people to connect to your server, then i doubt it...

Does not a normal pool, e.g. Eligius or Slush act like that ?

PatMan
Hero Member
*****
Offline Offline

Activity: 924


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
June 16, 2014, 03:52:01 PM
 #29

There is now an easy fix for Huntercoin compile issues on 14.04:

Any chance of getting a fix for building the daemon on 14.04?  Wink

does it solve the problem PatMan? Smiley

http://forum.huntercoin.org/index.php?topic=104.0


Copy/paste:

1. Go to huntercoin folder in terminal (this may be different, I don't know where your download went, if it's on the desktop)
$ cd ~/Desktop/huntercoin

2. Go to src folder
$ cd src

3. edit db.cpp
$ nano db.cpp

4. Add #include "auxpow.h" so that it looks somehting like this at the top:

before:
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Distributed under the MIT/X11 software license, see the accompanying
// file license.txt or http://www.opensource.org/licenses/mit-license.php.


#include "headers.h"
#include "db.h"
#include "net.h"
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>

after:
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Distributed under the MIT/X11 software license, see the accompanying
// file license.txt or http://www.opensource.org/licenses/mit-license.php.


#include "headers.h"
#include "db.h"
#include "net.h"
#include "auxpow.h"  //this is new
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>

5. Save and exit.
Press ctrl^x and then enter

6. Try make again.

Kudos to snailbrain,domob & JoeGruff for sorting it out  Smiley

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
raskul
Sr. Member
****
Offline Offline

Activity: 434



View Profile
June 16, 2014, 03:54:21 PM
 #30

Just want to say a big thank you to murdof for the time he has taken today to help me out.
I will be putting an old domain name to use with a 0% p2pool and all murdof's help has been very much appreciated.

tips    1APp826DqjJBdsAeqpEstx6Q8hD4urac8a
murdof
Full Member
***
Offline Offline

Activity: 196


View Profile
June 16, 2014, 05:08:42 PM
 #31

Does not a normal pool, e.g. Eligius or Slush act like that ?

Slush charges 2% fees. Eligius 0% fees and you get namecoin as well from both.
So Slush has some income.
Eligius I don't know if they merge mine other coins and keep them or how they work. I'm sure if you ask in their thread they will tell you.

So in other words you have a lot of competition. There are already P2Pool nodes with 0% fees and remember that P2Pool depends on latency as well.
So you can't launch a P2Pool node in India and expect people from Brazil to connect. Latency will be for sure more than 100ms.
Eligius/Slush/BTCGuild don't have that limitation.

Buy me a beer: 1mrdfyA1GhKmTPhaSkvyq5DBterQ5m7ZK

Run your own P2Pool with Ubuntu 16.04 LTS and merge mining
murdof
Full Member
***
Offline Offline

Activity: 196


View Profile
June 16, 2014, 05:16:42 PM
 #32

PatMan it worked!

I will add the huntercoin as binary only for now till they get it sorted in the github in order to have cleaner instructions.

For people that want to try it out do:
cd ~
git clone https://github.com/chronokings/huntercoin
cd ~/huntercoin/src

edit the file as mentioned in PatMan's file.
Then compile it with:
make -f Makefile
strip huntercoind
cp huntercoind ~/bin

Create the config file:
mkdir ~/.huntercoin
cat >~/.huntercoin/huntercoin.conf
server=1
daemon=1
rpcuser=huntercoin
rpcpassword=KouZ4RvmT3WkKZ
port=8398
rpcport=8399
rpcallowip=127.0.0.1

PRESS CTRL-D

start ~/bin/huntercoind - let it sync the blockchain.

append at the end of your p2pool command:
--merged http://huntercoin:KouZ4RvmT3WkKZ@127.0.0.1:8399

Not tried yet fully. Still syncing the blockchain

Buy me a beer: 1mrdfyA1GhKmTPhaSkvyq5DBterQ5m7ZK

Run your own P2Pool with Ubuntu 16.04 LTS and merge mining
sikke
Sr. Member
****
Offline Offline

Activity: 378


View Profile
June 16, 2014, 05:19:44 PM
 #33

Whats the minimum hw requirements to run a node. Network is 100mbits.
No hope to run it with rapi ?

Looking for somekind of similar integrated hw.

ChipMixer.com.|.Mixing reinvented for your privacy.|.ChipMixerwzxtzbw.onion
murdof
Full Member
***
Offline Offline

Activity: 196


View Profile
June 16, 2014, 05:31:56 PM
 #34

Whats the minimum hw requirements to run a node. Network is 100mbits.
No hope to run it with rapi ?

Looking for somekind of similar integrated hw.

You need 4GB ram minimum and about 60-80GB disk space depending on the coins you choose.

This is a guide for Ubuntu. Never used Raspberry Pi so don't know... For sure the commands are not the same.

Buy me a beer: 1mrdfyA1GhKmTPhaSkvyq5DBterQ5m7ZK

Run your own P2Pool with Ubuntu 16.04 LTS and merge mining
warrensgun
Full Member
***
Offline Offline

Activity: 196

Mining since bitcoin was $1


View Profile
June 16, 2014, 05:32:59 PM
 #35

Pardon the noob question -- for mining BTC - is it still connecting with other P2Pool servers?  Or is it waiting to find a block solo?

If the BTC is still mined as part of a bigger collection - then this sounds like a great idea - run your own pool so you can have very low latency (i.e. a server by the miners) - and then the BTC stuff is still merged in.  I've happen to already have old server hardware sitting around anyway that can be reformatted.  Granted they have tiny drives - so I'd need to find something bigger to actually store the block chain.

murdof
Full Member
***
Offline Offline

Activity: 196


View Profile
June 16, 2014, 05:37:23 PM
 #36

Pardon the noob question -- for mining BTC - is it still connecting with other P2Pool servers?  Or is it waiting to find a block solo?

If the BTC is still mined as part of a bigger collection - then this sounds like a great idea - run your own pool so you can have very low latency (i.e. a server by the miners) - and then the BTC stuff is still merged in.  I've happen to already have old server hardware sitting around anyway that can be reformatted.  Granted they have tiny drives - so I'd need to find something bigger to actually store the block chain.

BTC it is connected with other P2Pool servers
All merged coins are solo-mined

Buy me a beer: 1mrdfyA1GhKmTPhaSkvyq5DBterQ5m7ZK

Run your own P2Pool with Ubuntu 16.04 LTS and merge mining
warrensgun
Full Member
***
Offline Offline

Activity: 196

Mining since bitcoin was $1


View Profile
June 16, 2014, 06:40:22 PM
 #37

Pardon the noob question -- for mining BTC - is it still connecting with other P2Pool servers?  Or is it waiting to find a block solo?

If the BTC is still mined as part of a bigger collection - then this sounds like a great idea - run your own pool so you can have very low latency (i.e. a server by the miners) - and then the BTC stuff is still merged in.  I've happen to already have old server hardware sitting around anyway that can be reformatted.  Granted they have tiny drives - so I'd need to find something bigger to actually store the block chain.

BTC it is connected with other P2Pool servers
All merged coins are solo-mined

so are there enough other p2pool servers out there that it is still similar to mining in a larger pool like btcguild?

murdof
Full Member
***
Offline Offline

Activity: 196


View Profile
June 16, 2014, 07:37:04 PM
 #38

so are there enough other p2pool servers out there that it is still similar to mining in a larger pool like btcguild?

Yes... there are a couple....
http://p2pool-nodes.info/

The total Pool hashrate is lower than BTCGuild currently.
That's why payouts are bigger and less often than BTCGuild. When more people mine on p2pool then payouts will be more often but smaller.
You still get the same amount in the long run - benchmarks have shown better overall numbers on p2pool.
Just search this forum for benchmark p2pool vs btcguild

Buy me a beer: 1mrdfyA1GhKmTPhaSkvyq5DBterQ5m7ZK

Run your own P2Pool with Ubuntu 16.04 LTS and merge mining
raskul
Sr. Member
****
Offline Offline

Activity: 434



View Profile
June 17, 2014, 07:27:31 PM
 #39

Haven't gone through the whole post yet but I think this is/was EXACTLY what I was looking for- an updated and easy way to setup a p2pool.

I'll start working on this now Wink

good to see more and more p2pool nodes getting set up, best luck with yours waldohoover  Smiley

tips    1APp826DqjJBdsAeqpEstx6Q8hD4urac8a
raskul
Sr. Member
****
Offline Offline

Activity: 434



View Profile
June 17, 2014, 07:50:34 PM
 #40

Haven't gone through the whole post yet but I think this is/was EXACTLY what I was looking for- an updated and easy way to setup a p2pool.

I'll start working on this now Wink

good to see more and more p2pool nodes getting set up, best luck with yours waldohoover  Smiley

I'm happy to see people wanting to support the network as well and move towards p2pool, thanks Smiley

Setting up the node (in my sig) wasn't too bad with Morblias initial guidance but I def want to get a pool going now. I run /r/TeamRedditMining on reddit and would love to have our own pool going.  Smiley

aha! a US node, i'll direct US friends to it.. my node is also in my sig (Central Cavern - which is an Amsterdam node) - but be careful, the page is noisy  Cheesy

tips    1APp826DqjJBdsAeqpEstx6Q8hD4urac8a
Pages: « 1 [2] 3 4 5 6 7 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!