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?
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?
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
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)
i have not used NixOS yet, not sure how easy to setup it on Oracle OCI, but i guess you will do fine ;)
Let’s hope this helps.
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.
Oh seriously? That kinda stopped me from hosting my own. Got a link?
you can find them on docker hub - https://hub.docker.com/r/dessalines/lemmy
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
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.