this post was submitted on 25 Jun 2023
5 points (100.0% liked)

Selfhosted

41114 readers
626 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
 

Running a 24GB 4 OCPU Always Free Oracle VM Instance, the catch is that it uses Arm 64bit processors and iv already ran into issues with standing up docker containers from some GitHub repos, due to incompatibility.

I am hoping there is a easyish way to emulate x86 so I can work with what I need to as seamlessly as possible. It’s quite a powerful server for FREE, if I can get the emulation working I don’t really care about the extra overheads.

top 10 comments
sorted by: hot top controversial new old
[–] macgregor@lemmy.world 6 points 2 years ago* (last edited 2 years ago) (1 children)

I'd start with trying to find aarch64 container images. Search "image name aarch64". If the source is available you could also build the image yourself, but I've never found software I wanted to use badly enough to do that. If you're lucky someone already did it for you, but these images often aren't kept up to date. Do the community a favor and drop the owner an issue asking for aarch64 builds if nothing else.

[–] Senseibu 1 points 2 years ago

Will do. I’m still learning this so may be the best way for now

[–] taladar@sh.itjust.works 3 points 2 years ago (1 children)

You probably want to use qemu for that. You might be able to find some tutorials on setting up a chroot in the context of people doing the opposite for running or compiling stuff for their arm based pi or similar systems on their PCs.

[–] Senseibu 1 points 2 years ago* (last edited 2 years ago)

Couldn’t find it in my package manager, also running Oracle Server OS 8.8 which doesn’t help, it’s a fork of RedHat, so meant to be the “new “ Centos. I.E a Redhat clone. But I keep running into odd issues with it.

Worth to keep trying at it though.

I may have to download with a wget instead, I’ll see what I can find.

[–] ShittyKopper@lemmy.w.on-t.work 1 points 2 years ago

There are two options, being FEX and box86/64. Not sure on the differences between them, or how well they'll work for server use cases (box86 especially seems gaming focused), but they exist.

[–] knowncarbage@lemmy.fmhy.ml 1 points 2 years ago* (last edited 2 years ago)

Maybe just run one qemu kvm machine and use that for everything? pretend the underlying aarch64 isn't there at all.

It may be doable or even solvable if you are compiling things from source. But with the Docker in the middle, I doubt if emulation is worth the effort. If you insist or you just wanna try, I think you can give QEMU user-mode emulation a look.

[–] x3i@lemmy.x3i.tech 1 points 2 years ago

Check out box86

[–] 2xsaiko@discuss.tchncs.de 1 points 2 years ago

The way to do it as seamlessly as possible is to not use docker and instead use a distro that has first-class aarch64 support. I like my free Oracle VM and haven't had any issues with it whatsoever (besides having to deal with the atrocious web control panel when first setting it up).

[–] oranki@sopuli.xyz 1 points 2 years ago

Your best bet would be to see if there's a Dockerfile in the repo and build the image yourself. But it won't necessarily work, as all the dependencies will also need to have ARM builds available. I couldn't get a ClamAV container built for ARM, for example.

load more comments
view more: next ›