环境

  • Proxmox 7
  • Plex Server

PVE安装创建CT

配置 /etc/pve/lxc/103.conf

arch: amd64
cores: 4
hostname: Plex
memory: 4096
ostype: debian
rootfs: local:103/vm-103-disk-0.raw,size=4G
swap: 0
lxc.net.0.type: phys
lxc.net.0.link: enp12s0f0
lxc.net.0.flags: up
lxc.net.0.name: eth0

配置系统

设置静态ip /etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.3.4
netmask 255.255.255.0
gateway 192.168.3.1

安装依赖

apt install gnupg gnupg2 gnupg1 curl

安装Plex

echo deb https://downloads.plex.tv/repo/deb public main | tee /etc/apt/sources.list.d/plexmediaserver.list

curl https://downloads.plex.tv/plex-keys/PlexSign.key | apt-key add -

apt install plexmediaserver