modeh

joined 3 weeks ago
[–] modeh@piefed.social 2 points 2 days ago (1 children)

Will give this a look. Thank you.

[–] modeh@piefed.social 2 points 2 days ago (1 children)

I can do that no issue, simply thought it could be a good learning experience to use LXCs as I have never used them before.

[–] modeh@piefed.social 1 points 2 days ago

First thing I tried doing, it has the relevant parts for setting up the GPU in case the LXC was privileged, but nowhere do I see how it sets it up in case the LXC was unprivileged.

 

I recently upgraded my setup from an RPi running DietPi to a Beelink 14 (N150) running Proxmox. So far it’s been fun screwing around with it, creating VMs and LXCs, and getting to learn the ways of Proxmox.

My latest obstacle, however, was migrating my Plex setup from the RPi to the Beelink, I have created an unprivileged LXC and setup Plex manually. I know there is a Community Helper Script for it but where is the fun in that.

Anyway, I am trying to enable HW acceleration and can’t seem to passthrough the GPU drivers to the LXC without breaking things (thankfully I have a backup that I always restore to once things break).

I looked up tutorials online that might help but I can’t seem to find anything applicable, mostly people suggest to just use the Community Helper Script and get it over with. There isn’t much I can learn doing it the easy way.

Can anyone suggest to me how to go ahead with this or at least point me in the right direction?

Thank you.

[–] modeh@piefed.social 2 points 5 days ago

I use a device similar to this. Pretty useful and handy.

 

I realize that Proxmox suggests not to run rclone inside an LXC because it might cause problems backing up/snapshotting that container, but that’s not a concern of mine at the moment.

The issue I am running into is the following:

  1. Used Proxmox helper script to create Plex LXC, it worked flawlessly.

  2. Installed docker inside that LXC and pulled Zurg. Yes, I know it’s not recommended but I am not spinning up a whole docker vm for just this service.

  3. I then use Zurg to mount my box to /mnt/zurg and I start seeing its contents shortly after.

Now the problem is I have only 8GBs assigned to the Plex LXC which should be more than plenty. What’s happening is that the container is reporting to be full because of the rclone mount (~1TB in size) which is preventing write operations to the LXC.

This wasn’t an issue when I hosted those same two services on my ol’ trusty RPi-3B as it didn’t account for the size of the mount when doing df but for some reason the Plex LXC does.

Has anyone run across this before? What’s a good solution or workaround?

Thank you

[–] modeh@piefed.social 2 points 1 week ago (3 children)

Thank you, that’s actually quite informative. Gives me a good idea of what could go where in terms of my setup.

So far I recreated my RPi DietPi setup in a VM but for some reason Pi-Hole + Unbound combo is now fucking with my internet connectivity. It is so weird, I assigned it a static lease for the old RPi IP address in OpenWrt and left all the rules in there intact and you would think it would be a “drop-in replacement” but it isn’t. Not sure if Proxmox has some weird firewall situation going on. Definitely need to fuck around more with it to better understand it.

[–] modeh@piefed.social 3 points 1 week ago (1 children)

I travel internationally and some of the countries In been to have been blocking my wireguard tunnel back home preventing me from accessing my vault. I tried setting it up with shadowsocks and broke my entire setup so I ended up resetting it.

Any suggestions that is not tailscale?

[–] modeh@piefed.social 1 points 1 week ago (4 children)

I have a couple of publicly accessible services (vaultwarden, git, and searxng). Do you place them on a separate subnet via proxmox or through the router?

My understanding in networking is fundamental enough to properly setup OpenWrt with an inbound and outbound VPN tunnels along with policy based routing, and that’s where my networking knowledge ends.

[–] modeh@piefed.social 6 points 1 week ago (3 children)

Containers as in LXC?

[–] modeh@piefed.social 1 points 1 week ago (1 children)

Not even sure what that is, so most likely a no for me.

[–] modeh@piefed.social 6 points 1 week ago

Only reason I am thinking cgit is because I want a simple interface to show repos and commit history, not interested in doing pull requests, opening issues, etc…

I feel Forgejo would be “killing an ant with a sledgehammer” kinda situation for my needs.

Nonetheless, thank you for your suggestion.

[–] modeh@piefed.social 1 points 1 week ago (2 children)

Thank you.

I guess I have more reading to do on Portainer and LXC. Using an RPi with DietPi, I didn’t have the need to learn any of this. Now is a good time as ever.

But generally speaking, how is a Linux container different (or worse) than a VM?

[–] modeh@piefed.social 2 points 1 week ago (1 children)

Oh yeah, absolutely will do. Was simply hoping to get an idea of how self-hosters who’ve been using it for a while now set it up to get a rough picture of where I want to be once I am done screwing around with it.

 

Hello everyone,

I finally managed to get my hands on a Beelink EQ 14 to upgrade from the RPi running DietPi that I have been using for many years to host my services.

I have always was interested in using Proxmox and today is the day. Only problem is I am not sure where to start. For example, do you guys spin up a VM for every service you intend to run? Do you set it up as ext4, btrfs, or zfs? Do you attach external HDD/SSD to expand your storage (beyond the 2 PCIe slots in the Beelink in this example).

I’ve only started reading up on Proxmox just today so I am by no means knowledgeable on the topic

I hope to hear how you guys setup yours and how you use it in terms of hosting all your services (nextcloud, vaultwarden, cgit, pihole, unbound, etc…) and your ”Dos and Don’ts“

Thank you 😊

view more: next ›