this post was submitted on 13 Jun 2023
20 points (95.5% liked)

Selfhosted

40405 readers
853 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
 

I have an Oracle Always Free VPS. 4 ARM Ampere A1 vCPUs, 24GB RAM, 200GB storage. Will this be a good fit as a server for a Lemmy instance? Are there any issues with hosting Lemmy on aarch64?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 1 year ago (2 children)

it works fine, depending on popularity of your instance - you might have to add more resources in the future.

as for aarch64 - there are docker images available for lemmy and lemmy-ui

[–] neoney 3 points 1 year ago (1 children)

Thanks, I’ll hope to not use docker though - planning to run NixOS, which has a module for it.

Just double checked, the nixpkgs for lemmy-ui and lemmy-server have aarch64-linux support B)

[–] [email protected] 3 points 1 year ago (2 children)

i have not used NixOS yet, not sure how easy to setup it on Oracle OCI, but i guess you will do fine ;)

[–] neoney 3 points 1 year ago

Let’s hope this helps.

[–] [email protected] 1 points 1 year ago

You were right :) look at my username! Installation was very interesting - using kexec to swap the current loaded kernel to a NixOS live image, and installing it right over the current system surprisingly worked flawlessly. One reboot for an entire install (I might end up writing a post in [email protected] about it).

Setting up lemmy was a bit more difficult though, as the lemmy module is currently in the middle of a pull request to improve it, so I had to do some hacky trickery.

[–] [email protected] 2 points 1 year ago (1 children)

as for aarch64 - there are docker images available for lemmy and lemmy-ui

Oh seriously? That kinda stopped me from hosting my own. Got a link?

[–] [email protected] 3 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago (1 children)

Ah I thought you might be referring to someone building their own image based on the Lemmy repos, because those give me exec errors when I start them on my OCI

[–] [email protected] 3 points 1 year ago

i used to compile then using Dockerfile in https://github.com/LemmyNet/lemmy/blob/main/docker/Dockerfile - probably you can use those commands on nixOS as well.