murdof (OP)
|
|
June 26, 2014, 10:13:22 AM |
|
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.
|
|
|
|
KyrosKrane
|
|
June 26, 2014, 07:14:55 PM |
|
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! ### 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. 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.
|
|
|
|
raskul
|
|
June 26, 2014, 07:16:54 PM |
|
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
|
tips 1APp826DqjJBdsAeqpEstx6Q8hD4urac8a
|
|
|
KyrosKrane
|
|
June 26, 2014, 07:18:06 PM Last edit: June 26, 2014, 07:33:53 PM by KyrosKrane |
|
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: sudo chown -R $(whoami):$(whoami) .* sudo chown -R $(whoami):$(whoami) * Edit: Corrected the command to chown.
|
|
|
|
murdof (OP)
|
|
June 27, 2014, 06:08:16 AM |
|
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!
|
|
|
|
KyrosKrane
|
|
June 27, 2014, 11:54:35 AM |
|
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.
|
|
|
|
PatMan
|
|
June 27, 2014, 12:02:07 PM |
|
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
|
|
|
|
KyrosKrane
|
|
June 27, 2014, 03:21:12 PM |
|
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
|
|
|
|
Zelek Uther
|
|
June 28, 2014, 04:14:03 AM |
|
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
|
|
June 28, 2014, 04:30:29 AM |
|
Yes it can. Use the --address parameter on your command line that starts p2pool, so it looks something like this: 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.)
|
|
|
|
letuslook
|
|
July 12, 2014, 04:00:34 PM |
|
Thank you so much for the tutorial! Got my own EU (Amsterdam) p2pool running @ 149.210.172.171:9332p.s. you might add the following nodes for every coin in the config files (coin.conf): Ixcoinaddnode=198.154.60.183 addnode=50.116.37.18 Namecoinaddnode=212.71.251.113 addnode=192.241.171.45 Devcoinaddnode=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 I0coinaddnode=85.17.248.211:7333 addnone=198.154.60.61:7333 addnode=188.165.216.59:7333 Fusioncoinaddnode=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
|
|
|
|
murdof (OP)
|
|
July 15, 2014, 07:29:53 AM |
|
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.
|
|
|
|
YarkoL
Legendary
Offline
Activity: 996
Merit: 1013
|
|
July 22, 2014, 09:50:46 PM |
|
Thanks for this.
|
“God does not play dice"
|
|
|
kgb2mining
Member
Offline
Activity: 112
Merit: 10
|
|
August 06, 2014, 07:45:32 PM |
|
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/p2poolOther than that, everything is going swimmingly. Awesome script and tutorial both of you, thanks a bunch!
|
|
|
|
KyrosKrane
|
|
August 07, 2014, 06:14:27 PM |
|
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.
|
|
|
|
dlasher
|
|
August 07, 2014, 08:29:55 PM |
|
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
|
|
August 07, 2014, 09:28:40 PM |
|
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
|
|
August 09, 2014, 10:56:06 AM |
|
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.
|
|
|
|
adamsworks
Newbie
Offline
Activity: 28
Merit: 0
|
|
August 12, 2014, 12:20:52 AM |
|
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)
|
|
August 24, 2014, 11:15:55 AM |
|
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.
|
|
|
|
|