Bitcoin Forum
May 04, 2024, 05:27:45 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
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 54187 times)
murdof (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
June 26, 2014, 10:13:22 AM
 #81

You are right

chown should be run with sudo in front.

i hope you replace (youruser) with your username

you can find your username by just typing:
whoami

replace it in both occasions:
eg
sudo chmod -R murdof:murdof .*
sudo chmod -R murdof:murdof *

Kyros has done great work but unfortunately I don't have the time to implement everything in the guide this week as I'm working and I will be away for the weekend.

Buy me a beer: 1mrdfyA1GhKmTPhaSkvyq5DBterQ5m7ZK

Run your own P2Pool with Ubuntu 16.04 LTS and merge mining
1714843665
Hero Member
*
Offline Offline

Posts: 1714843665

View Profile Personal Message (Offline)

Ignore
1714843665
Reply with quote  #2

1714843665
Report to moderator
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714843665
Hero Member
*
Offline Offline

Posts: 1714843665

View Profile Personal Message (Offline)

Ignore
1714843665
Reply with quote  #2

1714843665
Report to moderator
1714843665
Hero Member
*
Offline Offline

Posts: 1714843665

View Profile Personal Message (Offline)

Ignore
1714843665
Reply with quote  #2

1714843665
Report to moderator
KyrosKrane
Sr. Member
****
Offline Offline

Activity: 295
Merit: 250


View Profile WWW
June 26, 2014, 07:14:55 PM
 #82

It would be awesome if KyrosKrane's script could be accessed by the wget method you used as that was easy. I'll have to figure out how to get that bash script into the VM and work out how to run it. Having the wget would make unix noobs setup of the P2Pool sooo much easier.

Ask and ye shall receive! Smiley

Code:
### To download ###
wget http://bitcoin.kyros.info/install-merged-mining.sh

### To run, without downloading the blockchain via http ###
./install-merged-mining.sh --compile
### OR ###
./install-merged-mining.sh --download

### To run, WITH downloading the blockchain via http ###
./install-merged-mining.sh --compile --http
### OR ###
./install-merged-mining.sh --download --http

I also threw up a little info page where you can download it through a browser, if you're on Ubuntu Desktop.  You can see that here:

http://bitcoin.kyros.info/

Murdof, sorry to hijack your thread. Sad I'll post my own thread about this shortly, but I'm doing a few additional updates to the script that I want to complete first.

Tips and donations: 1KyrosREGDkNLp1rMd9wfVwfkXYHTd6j5U  |  BTC P2Pool node: p2pool.kyros.info:9332
raskul
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250



View Profile
June 26, 2014, 07:16:54 PM
 #83

you guys are great, I think you should just leave it all in this thread... all us; important people, have been following every word anyway  Cheesy

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

Activity: 295
Merit: 250


View Profile WWW
June 26, 2014, 07:18:06 PM
Last edit: June 26, 2014, 07:33:53 PM by KyrosKrane
 #84

replace it in both occasions:
eg
sudo chmod -R murdof:murdof .*
sudo chmod -R murdof:murdof *

To make this generic for everyone, you could do this:

Code:
sudo chown -R $(whoami):$(whoami) .*
sudo chown -R $(whoami):$(whoami) *

Edit: Corrected the command to chown.

Tips and donations: 1KyrosREGDkNLp1rMd9wfVwfkXYHTd6j5U  |  BTC P2Pool node: p2pool.kyros.info:9332
murdof (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
June 27, 2014, 06:08:16 AM
 #85

Thanks Kyros,

great stuff. of course your not hijacking!

When you post your thread let me know so I put a link on the first post!

Buy me a beer: 1mrdfyA1GhKmTPhaSkvyq5DBterQ5m7ZK

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

Activity: 295
Merit: 250


View Profile WWW
June 27, 2014, 11:54:35 AM
 #86

Slightly odd question.  Can someone please point me to (or provide me with) a set of copy/paste instructions for compiling bitcoind on a clean install of Ubuntu 14.04? I tried to wade through the readme, honestly I did, but it left my head spinning about what is and isn't a required dependency.

Tips and donations: 1KyrosREGDkNLp1rMd9wfVwfkXYHTd6j5U  |  BTC P2Pool node: p2pool.kyros.info:9332
PatMan
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000


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


View Profile WWW
June 27, 2014, 12:02:07 PM
 #87

Slightly odd question.  Can someone please point me to (or provide me with) a set of copy/paste instructions for compiling bitcoind on a clean install of Ubuntu 14.04? I tried to wade through the readme, honestly I did, but it left my head spinning about what is and isn't a required dependency.

https://gist.github.com/yubrew/5571485

"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/
KyrosKrane
Sr. Member
****
Offline Offline

Activity: 295
Merit: 250


View Profile WWW
June 27, 2014, 03:21:12 PM
 #88

Thanks for that! The post is a few months old, so I want to test it in a VM first and see how it can be added to my existing script.

Quick preview of what I'm working on: http://bitcoin.kyros.info/preview.html

Tips and donations: 1KyrosREGDkNLp1rMd9wfVwfkXYHTd6j5U  |  BTC P2Pool node: p2pool.kyros.info:9332
Zelek Uther
Hero Member
*****
Offline Offline

Activity: 700
Merit: 504


Run a Bitcoin node.


View Profile
June 28, 2014, 04:14:03 AM
 #89

Wonderful, thanks! At some stage I want to try this (got to get a server first).

Noob question: can p2pool be set up to mine to a bitcoin address? I like to mine to a cold-storage address, not to a local wallet.

Run a Bitcoin node, support the network.
KyrosKrane
Sr. Member
****
Offline Offline

Activity: 295
Merit: 250


View Profile WWW
June 28, 2014, 04:30:29 AM
 #90

Yes it can. Use the --address parameter on your command line that starts p2pool, so it looks something like this:

Code:
screen -d -m -S p2pool 
~/p2pool/run_p2pool.py $Bitcoin_User $Bitcoin_Password \
--merged http://$Namecoin_User:$Namecoin_Password@127.0.0.1:7333 \
--merged http://$Ixcoin_User:$Ixcoin_Password@127.0.0.1:8338 \
--merged http://$Devcoin_User:$Devcoin_Password@127.0.0.1:6333 \
--merged http://$i0coin_User:$i0coin_Password@127.0.0.1:7338 \
--merged http://$Fusioncoin_User:$Fusioncoin_Password@127.0.0.1:18491 \
--merged http://$Huntercoin_User:$Huntercoin_Password@127.0.0.1:8399 \
--address 1YourBitcoinAddress

(Code's taken from my script, so obviously your version will have different usernames and passwords.)

Tips and donations: 1KyrosREGDkNLp1rMd9wfVwfkXYHTd6j5U  |  BTC P2Pool node: p2pool.kyros.info:9332
letuslook
Full Member
***
Offline Offline

Activity: 146
Merit: 100



View Profile
July 12, 2014, 04:00:34 PM
 #91

Thank you so much for the tutorial! Got my own EU (Amsterdam) p2pool running @ 149.210.172.171:9332

p.s. you might add the following nodes for every coin in the config files (coin.conf):

Ixcoin
Code:
addnode=198.154.60.183
addnode=50.116.37.18

Namecoin
Code:
addnode=212.71.251.113
addnode=192.241.171.45

Devcoin
Code:
addnode=dvc.rpwt.org:52333
addnode=devcoin.rpwt.org:52333
addnode=dvc.rpwt.org:52333
addnode=devcoin.rpwt.org:52333
addnode=devcoin.rpwt.org:52333
addnode=dvc.us.public.txn.co.in
addnode=dvc.eu.public.txn.co.in

I0coin
Code:
addnode=85.17.248.211:7333
addnone=198.154.60.61:7333
addnode=188.165.216.59:7333

Fusioncoin
Code:
addnode=54.193.11.95
addnode=54.255.130.210
addnode=198.23.242.92
addnode=121.199.12.227
addnode=54.185.94.219

Huntercoin
Code:
addnode=162.243.175.205
murdof (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
July 15, 2014, 07:29:53 AM
 #92

Updated letuslook addnodes.

Also put a note to check KyrosKrane page as it is more complete.

Kyros i have updated binaries!
HUC had some changes and I include bitcoin 0.9.2.1 (ppa still has older version).
So you might change to ~/bin/bitcoind or stick with ppa and hopefully it will get updated to 0.9.2.1.

576f0bdc8659cdd36f627402e1d79b12  p2pool-files.tar.gz

Please update the md5sum in your script.

Buy me a beer: 1mrdfyA1GhKmTPhaSkvyq5DBterQ5m7ZK

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

Activity: 996
Merit: 1012


View Profile
July 22, 2014, 09:50:46 PM
 #93

Thanks for this.

“God does not play dice"
kgb2mining
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
August 06, 2014, 07:45:32 PM
 #94

Just a note about the install script from Kryos - might need to either document or change how the code for p2pool itself is grabbed.

Going through building a node here, and we're behind a corporate firewall.  In the script, you're using a git:// repo.  Here that's blocked, and I'm sure other places, so when running the script you get this:

:~$ git clone git://github.com/forrestv/p2pool.git
Cloning into 'p2pool'...
fatal: unable to connect to github.com:
github.com[0: 192.30.252.128]: errno=Connection refused

I missed this in the initial install, and it took me a while to realize what had happened since that step flew by pretty quick.

Most of the other git clones are using http or https, which is much more standard firewall friendly.  I did this instead, and now all is well:

:~$ git clone https://github.com/forrestv/p2pool

Other than that, everything is going swimmingly.  Awesome script and tutorial both of you, thanks a bunch!
KyrosKrane
Sr. Member
****
Offline Offline

Activity: 295
Merit: 250


View Profile WWW
August 07, 2014, 06:14:27 PM
 #95

Thanks for the catch! I'll see what I can do to clean that up.

Sadly, RL has caught up with me, and I've been working 12+ hour days with regularity these last couple of months. Thankfully things are calming down now, so hopefully I'll have more time again to clean this up.

Tips and donations: 1KyrosREGDkNLp1rMd9wfVwfkXYHTd6j5U  |  BTC P2Pool node: p2pool.kyros.info:9332
dlasher
Sr. Member
****
Offline Offline

Activity: 467
Merit: 250



View Profile WWW
August 07, 2014, 08:29:55 PM
 #96


Thanks for a great guide, very helpful! Since pypy is so much faster, it would be great to see steps to get pypy happy added, if possible.


dlasher
Sr. Member
****
Offline Offline

Activity: 467
Merit: 250



View Profile WWW
August 07, 2014, 09:28:40 PM
 #97


Thanks for a great guide, very helpful! Since pypy is so much faster, it would be great to see steps to get pypy happy added, if possible.


I finally got it working, had to do the following, as the user I wanted to run p2pool as:

#sudo apt-get install python-setuptools

#easy_install --user -U twisted
#easy_install --user -U zope.interface

Now you can start it with "pypy ./run_p2pool.py" instead.. and benefit from the speed increases.


KyrosKrane
Sr. Member
****
Offline Offline

Activity: 295
Merit: 250


View Profile WWW
August 09, 2014, 10:56:06 AM
 #98

Sorry, I'm not sure I understand.  What's the benefit of pypy in this context? The only thing running Python in this guide is p2pool itself, and it's not like it's stressing out the CPU or anything.

Tips and donations: 1KyrosREGDkNLp1rMd9wfVwfkXYHTd6j5U  |  BTC P2Pool node: p2pool.kyros.info:9332
adamsworks
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
August 12, 2014, 12:20:52 AM
 #99

I run one P2Pool BTC only server (no merged mining) that I managed to piece together almost by luck,  and I am migrating over to a different company and a new sever (once the block chains are downloaded).  I run the pool for my own personal use mainly (but don't mind others mining there).

I just wanted to say thanks for the guide.  I didn't use any of the scripts as I am trying to learn the process of making my own builds (and learn more about linux),  but good work on those too.

I plan on setting up Scrypt Merged Mining, and X11 DarkCoin as well,  as I have a pretty varied mining setup.

I want to eventually have lots of coins available for mining for great choice for me (and perhaps others) via P2Pool, mainly because I believe in the P2Pool concept, and think it is good for the community. I also want to pick up my game in Linux, and this is a good project for it. 

I have a few questions about P2Pool while I wait for the blockchain(s) to download:

1) As long as I use the same BTC address, migrating over to a new P2Pool will still track my submitted shares, and I lose nothing?

2)

a. As I want to run pools with SHA256, scrypt and X11....  should I consider using the same container/VM or should I consider segregating by either main coin being mined, or perhaps algorithm?

b. As I have a choice between a VM or a container (I have selected a container for my first one, but my next pool could be a VM), what do the experts on here recommend? Please note I will only be running P2Pool on the machine with the assorted block chains,  and the web front end for it.

c. Can I run multiple instances of P2Pool using screen, IOT work the offerings differently (ie. Pool X mines LiteCoins, with the other secondary merged coins, and Pool Y mines Doge, with the other secondary merged coins),  or do I have to run separate container's/VM's for each setup?

3) Anybody heard of any work on merged mining for the X11/13/other alogo's?

Thanks for your help,  and thanks again for the guide!
murdof (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
August 24, 2014, 11:15:55 AM
 #100

Updated namecoind and huntercoind in binaries.

md5sum: ac912f6d457521b51b421a32f5fa4ad7

Note that after updating I got error that i had to repair the blockchain for namecoin.
I finally deleted the blockchain of namecoin and redownloaded.

Buy me a beer: 1mrdfyA1GhKmTPhaSkvyq5DBterQ5m7ZK

Run your own P2Pool with Ubuntu 16.04 LTS and merge mining
Pages: « 1 2 3 4 [5] 6 7 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!