This article will show you how to create a LXC Unprivilege and Install Plex Media Server.
For virtualization, Proxmox offers two methods: Linux Container (LXC) and Virtual Machine (VM).
Proxmox LXC containers are lightweight, alternatives to fully virtualized machines (VMs). They use the kernel of the host system that they run on, instead of emulating a full operating system (OS). This means that containers can access resources on the host system directly.
Proxmox LXC supports a lot of Linux Distro:
Read more: Linux Container - Proxmox VE
Access Proxmox Server —> local (pve) —> CT Templates —> Templates
As you see, Proxmox provides a lot of Linux Distro. Choose your suitable one. With me, I choose Debian Distro with version 12.
When the download is completed. The template will show in the CT Template tab.
I tested many configurations and found that with configurations 2-2, my Plex Server runs fine.
Go back to the main Proxmox Server WebUI, Select the Create CT Function
1apt update
2apt -y install dirmngr ca-certificates software-properties-common apt-transport-https curl sudo
1curl -fsSL https://downloads.plex.tv/plex-keys/PlexSign.key | gpg --dearmor | sudo tee /usr/share/keyrings/plex.gpg > /dev/null
2echo "deb [signed-by=/usr/share/keyrings/plex.gpg] https://downloads.plex.tv/repo/deb public main" | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
1apt update
2apt -y install plexmediaserver
1service plexmediaserver status
2* plexmediaserver.service - Plex Media Server
3 Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; preset: enabled)
4 Active: active (running) since Sat 2024-01-27 05:06:37 UTC; 49s ago
5 Process: 156 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPOR>
6 Main PID: 162 (Plex Media Serv)
7 Tasks: 54 (limit: 18874)
8 Memory: 149.8M
9 CPU: 2.982s
10 CGroup: /system.slice/plexmediaserver.service
11 |-162 "/usr/lib/plexmediaserver/Plex Media Server"
12 |-264 "Plex Plug-in [com.plexapp.system]" /usr/lib/plexmediaserver/Resources/Plug-in>
13 |-367 "/usr/lib/plexmediaserver/Plex Tuner Service" /usr/lib/plexmediaserver/Resourc>
14 `-400 "Plex Plug-in [com.plexapp.agents.imdb]" /usr/lib/plexmediaserver/Resources/Pl>
15
16Jan 27 05:06:37 plex systemd[1]: Starting plexmediaserver.service - Plex Media Server...
17Jan 27 05:06:37 plex systemd[1]: Started plexmediaserver.service - Plex Media Server.
18Jan 27 05:06:49 plex [367]: Critical: libusb_init failed
19Jan 27 05:06:49 plex Plex Media Server[367]: Critical: libusb_init failed