A pi4 has the power for it? I would assume Lemmy would chew into the drive space
Comment on where do the instances actually reside?
phoenix591@lemmy.phoenix591.com 1 year ago
lemmy can run on a decent variety of hardware, just has to be some thing left on 24/7 and exposed to the internet (be careful, the internet is a hostile place… mine was getting scanned and poked constantly until I put it behind cloudflare and then locked the firewall down to just let in cloudflare), and of course more users take more powerful hardware.
For my personal just me instance though, I’m just running it on a Raspberry Pi 4 I run some other stuff on. Uses less than a gig of memory.
slazer2au@lemmy.world 1 year ago
SatyrSack@lemmy.one 1 year ago
So you would just add another (or larger) drive. A Pi itself doesn’t even have a drive.
nottelling@lemmy.world 1 year ago
The Pi4 is a pretty impressive little machine. It’ll probably host a few users, but from what I understand, it’s the federation that really starts scaling the requirements.
Bigger problem with the Pi though is that it runs off an SDcard (by default), which have limited writes, and you’ll burn that up fast.
curiosityLynx@kglitch.social 1 year ago
IIRC it's technically possible to attach an external harddrive to a Raspberry Pi if it has its own power supply.
I seem to remember doing a botch where I took a USB hard disk drive that was supposed to get its power from the PC through the cable and rerouted the power over USB lines to a dedicated power brick.
My memory says I carefully removed a section of mantle in the middle of the drive's USB cable, cut the power carrying lines but leaving the data lines intact, cut one end of a different USB cable, connected the power lines of that with the cut power lines of the drive's cable (only on the drive side, obviously), put the intact end of the second cable into a USB charge plug, and connected the drive and RPi as if the RPi were a regular PC.
I'm pretty sure it worked.
phoenix591@lemmy.phoenix591.com 1 year ago
It has the power to run a one user instance, I’m sure it would run into issues trying to squeeze a normal amount of people onto it, but a handful sure.
I run everything off an external hard drive
dandroid@dandroid.app 1 year ago
How can I tell if my instance is being probed for security issues?
spacedancer@lemmy.world 1 year ago
You’ll need to have some monitoring in place. Firewall logs, packet capture (i.e. wireshark), security onion, and a bunch of other security logging/monitoring tools. If you’re hosting on the cloud, your provider may have some free tools you can use (i.e. CASB).
dandroid@dandroid.app 1 year ago
I’m currently hosting on a spare computer that I had lying around that I installed Linux on. So I’ll probably need to do some research and set this up.
My dad had a web page recently get attacked, and they ended up injecting a program into his server and it started executing itself. He didn’t look into what it was actually running, but I can’t imagine it was doing anything good. Like, if it were just crypto mining, that would be a best case scenario. I’m sure it got in because he never updates anything. He was running his web page on a very, very old version of php, with a very old version of apache2 as the webserver.
I just want to make sure that I’m aware of if someone is trying to do something similar to me.