What would be the best way to host a SimpleX smp and xftp server?
from adonkeystomple@lemmy.ml to selfhosted@lemmy.world on 28 Jan 19:52
https://lemmy.ml/post/42351298

So I have a couple options at my disposal. I’m fairly beginner with self hosting, with linux, and command line.

So my options are

  1. Run server via ubuntu vm on windows 11 machine that I already run my plex server and some game servers through.

  2. Use random other computer, install ubuntu or ubuntu server on and host that way. Not sure if ubuntu or ubuntu server would be better for me. I’m not sure what the hardware is yet, but I know it’s pretty old and likely lower end. I have very little cli experience and I want to learn to be better command line so maybe ubuntu server would be a good learning experience.

  3. Host it via docker on linux machine.

#selfhosted

threaded - newest

just_another_person@lemmy.world on 28 Jan 20:02 next collapse

#3

adonkeystomple@lemmy.ml on 28 Jan 20:09 collapse

Interesting. Could you expound on why that option, and what some pros and cons would be?

just_another_person@lemmy.world on 28 Jan 20:36 next collapse

The simplest and most pragmatic option.

androidul@lemmy.world on 28 Jan 21:47 collapse

thank you sir

surewhynotlem@lemmy.world on 28 Jan 23:49 collapse

Hosting things in docker separates then from the OS and makes upgrading safer and easier.

Eventually, you’ll want to update your OS. If the software is right on the OS, you might break it. If it’s in docker and the machine breaks, run the container on another machine.

If you upgrade your software and it breaks, in docker you just go back to the previous container. It’s still there and hasn’t changed. If the software is on your OS directly, an uninstall and reinstall might work, but might not.

artyom@piefed.social on 28 Jan 20:58 next collapse

Yunohost

BigBolillo@mgtowlemmy.org on 28 Jan 23:29 next collapse

Question: what are the advantages of simplex over signal?

Lemmchen@feddit.org on 28 Jan 23:33 collapse

Not centralized, no phone numbers needed

BigBolillo@mgtowlemmy.org on 29 Jan 00:16 collapse

But if you host a server then your contact should configure that server to communicate with you?

Nevermind it’s a swarm of servers.

zewm@lemmy.world on 29 Jan 04:19 next collapse

Why run a docker through a vm on Windows when you can just run docker natively? I don’t understand the convolution.

Use whatever you are more comfortable with.

klankin@piefed.ca on 29 Jan 04:34 collapse

Thats how docker runs “natively” on windows, its kernel has no support for namespaces nor cgroups that containers require

zewm@lemmy.world on 29 Jan 12:32 next collapse

No. You can install docker directly in Windows. OP is running a Linux VM and then docker inside of that.

klankin@piefed.ca on 29 Jan 15:12 collapse

Docker desktop for Windows runs under WSL or Hyper-V, both being VMs themselves.

Arguably running a Linux VM themselves will only offer them more customisation options (although may be heavier than WSL)

pupbiru@aussie.zone on 29 Jan 15:40 collapse

WSL, Hyper-V and Windows Containers are all options

they have to be built specifically for windows (of course the kernels are different, so the binaries are going to be different) but you can run Windows native applications on Windows kernel with a different implementation of containers using the standard Docker CLI and interfaces

Cgroups are just 1 (by far the most common) implementation of the container backend

klankin@piefed.ca on 29 Jan 16:23 collapse

Mind linking the relavent simplex SMP/xftp windows container then?

pupbiru@aussie.zone on 30 Jan 00:48 collapse

i’ve already linked the docs that state that native windows containers exist. whether or not specific images exist is not relevant

fozid@feddit.uk on 29 Jan 11:40 collapse

It depends what your long term goals are. If it’s just to run those services as simply as possible, then just run them in docker on windows. If you want to learn Linux, then setup you other hardware and install a server distro. Ubuntu is fine, but I use Debian.

Then once you get used to Linux, one day you could migrate your Plex server to Linux and remove windows from your main server.