Hello,
Is it possible to run a full NuBits node on my Raspberry Pi headless? If this is possible, does someone have instructions on how to do so?
Thanks
Hello,
Is it possible to run a full NuBits node on my Raspberry Pi headless? If this is possible, does someone have instructions on how to do so?
Thanks
Do you know if this is an idiot proof guide lol? Kinda new to all this.
Yeah I got it working really well. Itās headless but thatās ok. As I remember theres a dependency or two that I found a bit tricky. The best thing to do is follow a guide for compiling the bitcoin wallet this should get you started.
If you post errors up here Iāll see if I can help and other folks are really helpful here too
Headless is exactly what I am looking for. Do you by chance have a how to guide like the one found on the peercoin forums: https://www.peercointalk.org/index.php?topic=2800.msg25048#msg25048
I donāt have a how to Iām afraid but itād certainly be good to have one. Iām in new Zealand and itās getting on a bit. If you can hold out until tomorrow Iāll see what I can write up for you.
Perfect, thanks so much.
ok here goes. Iām sure this guide isnāt absolutely perfect and youāll probably end up installing things you donāt need but hopefully in the end itāll get it up and running. Iām afraid I do somewhat fluff my way through this stuff, but iāve always got it happening sooner or later.
Iām assuming you know your way round the terminal a bit?
1. Youāll need this file https://drive.google.com/file/d/0B96pmq-lU9NQUTBwM19XUWw3OFk/view?usp=sharing
2. save that on your pi somewhere. I just popped mine in a ānubitsā folder on my desktop.
3. This bit is taken from a guide to compile bitcoin on a pi:
ā Update all existing software on the Pi (one line at a time)
sudo apt-get update
sudo apt-get upgrade
ā Install the prerequisites required for compilation (one line at a time)
sudo apt-get install checkinstall subversion git git-core build-essential
sudo apt-get install libssl-dev libdb+Ā±dev libminiupnpc-dev
sudo apt-get install libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev
4. This bit is taken from this thread: Binaries for RaspberryPi or other ARM devices?
sudo ln -s /usr/lib/libminiupnpc.so.5 /usr/lib/libminiupnpc.so.10
5 At this point Iād probably go in to your nubits folder and run ./ARMnudv5.4 I think thatās the filename you downloaded in step 1?
Youāre probably going to get some errors here. Post them up here (or copy them to google, this is pretty much how I got mine running). Still post anything up here and we can tidy this guide up in the end so thereās a really easy way for people to install.
Iāll be in and out the house today but Iāll keep an eye on this and help when i can
Oh and anybody that knows more about this than me please feel free to correct me.
Nothing to correct but just to add an optional step which makes the handling of the client much easier:
sudo cp ARMnudv5.4 /usr/bin/nud && sudo chmod a+x /usr/bin/nud
mkdir -p ~/.nu; echo "daemon=1" >> ~/.nu/nu.conf; echo "server=1" >> ~/.nu/nu.conf; echo "rpcuser=nupi" >> ~/.nu/nu.conf; echo "rpcpassword=xxx" >> ~/.nu/nu.conf;
Now you can start Nu by just running nud
wherever you are and access a method by calling nud method
. It furthermore keeps running when you log out of the ssh session.
Thatās really helpful thanks. Iām still running it from the folder. Iāll update my install with this
I followed this guide (with creonās additions) on a Raspberry Pi 2 B. After all is done I run nud and I get this error:
bash: /usr/bin/nud: Permission denied
Working or not, this thing is really cool!
sudo chmod +x /usr/bin/nud
adding this in my post above, thanks!
Thanks a lot! āNu server startingā
it can take a while to download the blockchain. I had to keep restarting the pi as it would crash a bit. Just be patient with it though, it does get there
Yes it is progressing. I am getting about 250 blocks/min. The next thing I would like to do is have it run nud when the pi boots up/I log in. I tried adding a line for nud to /etc/rc.local, but I do not think the system can see the nu.conf file at that point in the boot process. I saw a message that I needed to add an rpcuser and rpcpassword, which I already have.
*please forgive any current and future linux noob lingo out of me
This is perhaps still useful for setting up a Raspberry pi from the very beginning
You can just cut and paste commands from Tea42ās scripts.