It all started with a raffle... a raffle of a hive between beekeepers in exchange for a funny story about what they need it for.
Then the cockroaches in my head took control and briskly typed a message that I needed this hive not for bees, but to put a monitoring server there π
Further fantasy drew Raspberry blades instead of frames with honeycombs, but it turned out that such a solution already exists (pictured above).
In fact, I started thinking about the need for a web server with an RRD database from the moment
Now that there is
Actually, this is what my 13th article on HabrΓ© tells about.
The layout of the cost of hosting in Ukraine is as follows - for $ 30 per year you can get a free domain name registration and a web server with 4GB of virtual disk.
So to tie these figures in relation to my task - even if you write the results of the Fourier transform four times an hour, it will come out about a kilobyte.
As a result, a 4GB database will be able to contain information about 400 hives per year.
For starters, it seems to be ok, but there is one BUT - not all the space will be given to you for the base (usually only a quarter).
If you increase appetites a little, the price tag immediately exceeds the hundred-dollar mark - a bit fat for a free project.
In a word, here already the toad forms a coalition with cockroaches and googles such things.
Moreover, for a hundred square meters you can just buy four raspberries.
But Lord, what a mess it is to mess around with them, to sharpen something and come up with something!
The solution should be as simple as possible, easily transferable to normal hosting, and protected from power failures and Internet glitches.
In fact, about 15 years ago I already dealt with the organization of hosting a web server at home, so I donβt see any problems in forwarding the domain and IP.
So, my solution to the problem of choosing a platform is a motherboard based on a dual-core Celeron J1800 2.4GHz with TDP 10W, but at least this:
Packing this happiness into a nettop case, you get a very compact system.
The server can be rotated on an SSD drive, and backed up to a classic 2.5β³ HDD.
An additional plus is that many nettops use an original power supply circuit - a βlaptopβ PSU and converters inside the system unit.
That's how we got to the "sunny" part of the story.
No, the problem is not in installing UPS, even the smallest one will be able to βpullβ such a system for hours, but in a hidden desire to make a stand-alone server that is not connected by wires at all (yeah, that same beehive in an open field ;-).
In general, a 100-110W solar battery should be enough, paired with a Tavria battery and a charge controller, this will serve as an excellent alternative to an outlet.
Internet problem? There is a home Internet of 100Mbps, and 4G in Kyiv brings down God forbid everyone (you didnβt think that I would really put everything in the field π
I donβt touch software issues for two reasons:
- This is the topic of a separate holivar
- Yes, and you donβt actually have to choose - see what the hoster uses, which I will eventually come to, and install the same thing (from the Linux family)
In short, the server configuration is Celeron J1800 2-core 2.4GHz, 4GB(2Γ2) DDR3 SO-DIMM, 32GB SSD-HD, 320GB HDD
Do you know what is the best part of this story?
Free cheese! All components are already in stock and their performance/stability tested!
I hope that the thirteenth publication as a whole was a success!
And yes, Lets Fight in the comments!
Andrey was an electric beekeeper with you.
Only registered users can participate in the survey.
Would you arrange home hosting for an open source project?
-
Yes
-
No
-
Your choice (in the comments)
14 users voted. 4 users abstained.
Source: habr.com