Due to unknown reasons, I’m not able to install docker on my tiny hardware which is using Amlogic S805 chip. Therefore I’m thinking of running the binary directly outside docker.
Do you have $35.00 USD and source for purchasing a Rasberry Pi 4 ?
I know some SNOs have had a decent run with the RPi 4s. You’ll probably spend 2 weeks configuring your S805 platform that will have lower performance than a $35.00 RPi 4…
That would be for the smallest version (2GB), but in my experience, with the 4GB version that I have, everything runs smoothly as long as disks can keep up: Up to 500MB is used by the whole system (4 nodes included), the rest being used by caches/buffers.
So I’d say 2GB is enough, but depending on if other things are going to run on it, it doesn’t hurt to get at least 4GB, especially as Linux always know what to do with more RAM to enhance response times.
You can see a lot of product photos from the manufacture web site at OneCloud
I have Pi3 and Pi4, both working well as a node. However, I still prefer to use this tiny box as it comes with a nice enclosure, its internal space is able to host a 2.5’’ HDD with a little bit of DIY. In fact, I have about 20 units of this tiny box, and my friend also has a lot of this. It will be good if I’m able to run a standalone binary on it.
Running a standalone binary is just the first step, a customized script will be part two for auto-upgrade purpose. Any input will be highly appreciated.
to run a node standalon you need to first setup the directy structure, because the binary expects it to be there when you run it. This is done by starting it with ./<binary> setup --config-dir </path/to/config/dir> --identity-dir </path/to/identity/dir>. You can omit the config and identity dir paths and it will use the default path, just not very useful when you want to run multiple nodes.
To finally run the node once you added the identity files and adjusted the config yaml to your preferences you run the binary like so: ./<binary> run --config-dir </path/to/config/dir>. Here it is very likely possible to omit the config dir again, for it to use the default config dir, but i havent verified this.