157
submitted 1 year ago* (last edited 1 year ago) by KDE@monyet.cc to c/selfhosted@lemmy.world

Hello , dear lemmy users , I am starting to really like self-host because they are really fast and mostly i use open source stuff (like lemmy /photon etc) which were sometimes slow but after self hosting it now on the pc i am on using , i really like it

Now , I would like to host some stuff like jellyfin , navindrome , photon , adgaurd home and just leave it running on a device in maybe near future (i can convince my brother to pay for it , after he gets his job maybe)

TLDR : I wanted to ask What's your favourite alternative to raspberry pi for simple self hosting or maybe possible near home automation

Edit: thank you all for helping me , I am starting to believe that i should look into using dell wyse or the likes which are meant to be used for hosting or a old laptop (since i dont own a laptop anyway , i just own a pc ) and since i run linux anyways , i am thinking of owning a laptop dual booting it with alpine (that has docker) and a simple minimalist os like hyprland on it just in case i need to travel with it (which to me seems very unlikely , I dont travel much so..) I am confused about it

Edit 2 : I am very new to self hosting so currently i would run stuff on my pc only (using portainer) , However when needed to buy , i am thinking of buying the cheapest thin client maybe a nuc or dell wyse

I am already trying searxng , shiori(bookmark manager) , portainer,freshrss , photon , froodle-s pdf tool which i have all closed except portainer currently I am also thinking of shifting to podman as well but cant find a good gui for it like portainer , (portainer really just blew my mind with its templates)

you are viewing a single comment's thread
view the rest of the comments
[-] uis@lemmy.world 5 points 1 year ago

ARM just doesn't have the same support for a lot of things you might want to self host

Like what? Person explicitly mentioned opensource software.

used thinclient PC

Usualy thay are cheap used, so it might work too

[-] floridaman@lemmy.blahaj.zone 4 points 1 year ago

ARM software support is just generally rough, yeah it's good on RPi (and Mac) but on other boards it typically sucks, namely the cheaper boards OP would be buying. Here's a couple software examples though, I'm a big docker user and just the other day I was trying to run I believe Mastodon and Lemmy on an ARM device but there was just no image for it. I'm sure I could build an image myself but for someone just getting into Homelabbing (like OP), x86 is the platform to use.

[-] uis@lemmy.world 0 points 1 year ago

ARM software support is just generally rough, yeah it's good on RPi (and Mac) but on other boards it typically sucks, namely the cheaper boards OP would be buying.

Let's see... Not counting Rock64 which is popular and AARCH, I also have chinese noname Espada E-726 TV Box on Allwinner A10, that(box) nobody knew about. Built bootloader, built kernel, installed system on SD card, it works.

I'm a big docker user and just the other day I was trying to run I believe Mastodon and Lemmy on an ARM device but there was just no image for it.

(It's a GIF)

I'm sure I could build an image myself but for someone just getting into Homelabbing (like OP), x86 is the platform to use.

It is easier to not use Docker.

[-] ShortN0te@lemmy.ml 2 points 1 year ago

There is actually lots of OSS that does not support arm. As a popular example documentserver for nextcloud.

[-] uis@lemmy.world -3 points 1 year ago

If it can be compiled from sources, it works

[-] Sowhatever@discuss.tchncs.de 0 points 1 year ago
[-] uis@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

This means you did not compile for correct architecture. There also can happen with program that use hand-written assembly, but I reeeeally doubt nextcloud devs do it.

For simplicity just compile with -mcpu=native on target computer.

EDIT: wait a sec, who are you? I doubt you want documentserver too.

[-] Sowhatever@discuss.tchncs.de 0 points 1 year ago* (last edited 1 year ago)

Nonaligned memory access can occur in C code. I'm not speaking about nextcloud, you mentioned "if you can compile it works (for any architecture) ", which is demonstrably false.

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

Nonaligned memory access can occur in C code.

Entire Cortex A-series should work fine with unaligned memory access to RAM when MMU is enabled(which is always on for linux). With few exceptions, but nextcloud is not a device driver.

(for any architecture) ",

I never said that.

[-] Sowhatever@discuss.tchncs.de 0 points 1 year ago

It was implied in the discussion: "if you can compile it, it will work".

There's plenty of ARM processors before Cortex. There's SPARC. And there's a crapton of others with their quirks.

Just because you can compile a program from source, it doesn't guarantee it will work. As mentioned: online assembly, memory alignment, but you can add endianness or questionable pointer arithmetic, not to mention dynamic runtime code generation. And I'm sure there's 5 other reasons that I haven't personally run into.

Yeah, in a perfect world everyone would write bug-free, platform-independent code, alas...

[-] uis@lemmy.world 1 points 1 year ago

It was implied in the discussion: "if you can compile it, it will work".

Nope. If you can compile for this microarchitecture, it will work on it. You know what was implied, I know what was implied, but you choose to run in circles and yell "Look! This person doesn't know that program compiled for one architecture can't run on another!"

There's SPARC.

Me: says about -mcpu=native

You: oh, yeah, there is completely another architecture.

Ooorr...

There's plenty of ARM processors before Cortex. There's SPARC.

Did you just said that SPARC is ARM processor? Who tf are you?

As mentioned: online assembly

What now?

online assembly

. . .

endianness

What distro runs ARM in big endian? Name one. I think you are just trying to throw as much arguments you don't understand as possible. EOF.

[-] Sowhatever@discuss.tchncs.de 0 points 1 year ago

I assume you program in Javascript and haven't written C code ever. SPARC doesn't allow unaligned memory access to this day, no matter what parameters you throw to the compiler. If a program doesn't process endianness won't work correctly. s/online/inline/g. You didn't even address 4 other arguments.

"if you can compile it, it will work" is just false.

[-] uis@lemmy.world 1 points 1 year ago
[-] Sowhatever@discuss.tchncs.de 2 points 1 year ago

My github profile is under my real name, so no thanks. Won't be giving my social security or credit card numbers either.

this post was submitted on 13 Oct 2023
157 points (96.4% liked)

Selfhosted

40734 readers
384 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS