The Perfect home server multi machine setup?
from danlp6@lemmy.myserv.one to linux@lemmy.ml on 18 Sep 2024 20:54
https://lemmy.myserv.one/post/11865371

This is a question do you know it

So I would like a private part that I would use anonymously and a public part everyone is allowed to know. AND FOR THE LOVE OF GOD DON’T RECOMMEND QUEBES it isn’t good at handling GPUs that well and I do have 2 machines like one server and one client but what would be the best setup (and no 2 physical laptops to be carried arround is not a solution neither is dualboot on 1TB)… so let me know

#linux

threaded - newest

HC4L@lemmy.world on 18 Sep 2024 21:02 next collapse

I might just be tired but I’m having a hard time understanding what you’re asking.

myersguy@lemmy.simpl.website on 19 Sep 2024 03:35 collapse

We are all tired on this day.

vhstape@lemmy.sdf.org on 18 Sep 2024 21:07 next collapse

If I understand your question, you can just assign some of your server endpoints a public IP/URL and keep some others behind the firewall. My home lab exposes some services to the open internet, while others are only accessible with a VPN.

danlp6@lemmy.myserv.one on 19 Sep 2024 18:19 collapse

thanks and then just containering the apps kinda like 2 user profiles but one actual pc user

windlas@lemmy.ca on 19 Sep 2024 01:27 next collapse

Have you considered using Quebes?

Black616Angel@discuss.tchncs.de on 19 Sep 2024 07:32 next collapse

Okay, what do you want?

“Quebes” maybe means QubesOS, so you are searching for an operating system, but since you mentioned problems with GPUs, you probably have Nvidia cards and to that I can only say good luck getting Nvidia cards to run with docker.

danlp6@lemmy.myserv.one on 19 Sep 2024 18:20 collapse

Well yes basically QuebesOS but with nvidia support

Black616Angel@discuss.tchncs.de on 19 Sep 2024 20:53 collapse

Okay, I cannot really help you with that, because getting Nvidia to run is hard and especially for docker it will most likely not be supported out of the box. You will probably have to install the docker drivers yourself and hope that it works. Sorry, I have an Nvidia card myself and it sucks.

Secondly: Next time be more specific with what you want, what your hardware is and what you want to do with it, because most people (like me) could not really understand, what you meant with your initial text.

bloodfart@lemmy.ml on 19 Sep 2024 15:02 next collapse

Someone already said the firewall, and that’s the most straightforward answer, but there’s lots of stuff a server can be used for and most of those have some facility for making a distinction between unauthenticated users and authenticated ones. So as a second recommendation: use the permissions system.

What are you actually trying to do?

bloodfart@lemmy.ml on 19 Sep 2024 19:23 collapse

If you want to run a service in a container for security purposes and it doesn’t need to use the gpu, you can just use any container management software to run it.

Then your “whole pc” is the private part that only you have access to and the stuff in the container is the “public” part.

If the service needs to use the gpu then it might be worthwhile to run it in a vm with gpu passthrough.

No matter what though, you need to say what you’re trying to do. Like exactly what you’re trying to do. Like what specific software packages you’re trying to run and how you want the “anonymous” and “public” sections to be different.

It almost sounds like you wanna run a stable diffusion setup with two different model sets so an authenticated user can make pictures of Donald trumps head on Christina Hendricks body but public users can only do normal generic stuff.