82

If I were to create a new instance of lemmy do I set up my own server in my house, or am I just creating an instance on one of the lemmy servers?

you are viewing a single comment's thread
view the rest of the comments
[-] phoenix591@lemmy.phoenix591.com 30 points 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.

[-] decadentrebel@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

Running my own instance for our community (on a cheap Synology NAS) was something my dumbass considered when making the move here from Reddit. I'm glad I didn't and just left it to the professionals, seeing as even experienced admins like Ruud have trouble with DDoS attacks and other shit.

[-] slazer2au@lemmy.world 4 points 1 year ago

A pi4 has the power for it? I would assume Lemmy would chew into the drive space

[-] nottelling@lemmy.world 10 points 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 4 points 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.

[-] account_93@lemm.ee 2 points 1 year ago

I run my Pi directly from a USB SSD, no micro SD card installed.

SSDs ofc requires less power so it runs just fine!

[-] Butters@lemmywinks.com 1 points 1 year ago

Do the Pi’s USB ports not supply power??

[-] curiosityLynx@kglitch.social 2 points 1 year ago

Not enough for the needs of an HDD

[-] Butters@lemmywinks.com 2 points 1 year ago

Wouldn’t you just use a SSD? Are people actually connecting spinning discs to an Rpi?

[-] curiosityLynx@kglitch.social 2 points 1 year ago

I did at the time, if I remember correctly. It's been years though, could have just been an old SSD model that used too much power for the Rpi.

[-] SatyrSack@lemmy.one 5 points 1 year ago* (last edited 1 year ago)

So you would just add another (or larger) drive, right? A Pi itself doesn't even have a drive.

[-] phoenix591@lemmy.phoenix591.com 4 points 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 3 points 1 year ago

How can I tell if my instance is being probed for security issues?

[-] kevincox@lemmy.ml 5 points 1 year ago

There is no need to check. Everything exposed to the internet is being scanned. (The only exception is maybe IPv6 with no specific TLS cert.)

[-] spacedancer@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

You’ll need to have some kind of 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 2 points 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.

[-] phoenix591@lemmy.phoenix591.com 3 points 1 year ago* (last edited 1 year ago)

its the internet, they are. Putting it behind cloudflare and locking down the firewall to only allow their ips has filtered out pretty much everything. its free and pretty straight forward if you own your own domain.

check your nginx access logs, I'm sure they're full of people poking it.

134.122.30.157 - - [22/Jul/2023:07:45:28 -0500] "\x00\x00\x00\xB2\x9A\xD6\x8E\xCF.\x22\x83\xA9\xBF2\xBA|ro\xAE_\x95\xEC\x80\xE4\xE9n\x82q\x9E\xC6\xA9\x8F\xF5" 400 157 "-" "-"

and all kinds of other obvious incorrect stuff when a normal request looks like

2001:19f0:5c01:dd3:5400:2ff:feba:75b - - [27/Jul/2023:07:21:25 -0500] "GET /comment/165203 HTTP/2.0" 200 953 "-" "Lemmy/unknown version; +https://lemmy.xcoolgroup.com"

GET/POST/WHATEVER /url ...

[-] elscallr@lemmy.world 1 points 1 year ago
this post was submitted on 27 Jul 2023
82 points (97.7% liked)

No Stupid Questions

35639 readers
1410 users here now

No such thing. Ask away!

!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must be legitimate questions. All post titles must include a question.

All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.



Rule 2- Your question subject cannot be illegal or NSFW material.

Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding META posts and joke questions.

Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.

On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.

If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.



Rule 7- You can't intentionally annoy, mock, or harass other members.

If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here.



Credits

Our breathtaking icon was bestowed upon us by @Cevilia!

The greatest banner of all time: by @TheOneWithTheHair!

founded 1 year ago
MODERATORS