1. DIY HOME SERVER - Plex - Prepare VM
When creating a home lab server based on Proxmox, one of the most common projects is to install Plex as a local media server. An easy way todo this is to add the TrueNAS Plex Plugin to an already installed TrueNAS Core VM.
But I like to keep things separated and therefore will install Plex Server in an Ubuntu Server virtual machine. Let’s go.
2. DIY HOME SERVER - Ubuntu Server - Installation
3. DIY HOME SERVER - Plex - Installation
After installation, you should be able to open Plex in a browser tab by going to http://xxx.xxx.xxx.xxx:32400/web.
echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add - sudo apt update sudo apt install plexmediaserver -y sudo apt upgrade -y
Now we have to connect to a SMB network share on our TrueNAS CORE server to access our media.
sudo mkdir /PlexMedia sudo nano /etc/fstab
Add the line at the bottom :
//PATH-TO-FILE-SERVER /PlexMedia cifs username=########,password=******** 0 0
Press CTRL + O and confirm to save.
Press CTRL + X to exit.
Then reboot the VM or enter
sudo mount -a
Check the content of /PlexMedia to see if the mount was successful.