Plex under Debian Linux

Hello again. Let’s continue where we left the scene previously. We’re building Plex under Debian Linux.

The first steps are always the same – adjusting SSH, installing SNMP, etc.
This time, we need to access the shares provided by the NAS.

apt install cifs-utils -y

mount -t cifs -o username=user,password=password //10.0.0.11/share /mnt/share

nano /etc/fstab
    //10.0.0.11/share/   /mnt/share   cifs   username=user,password=password   0    0

On top of that, we need some requirements:

apt install apt-transport-https curl wget sudo gnupg2 -y
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 -

And a few more lines for the actual deployment. Please find more in the documentation here and here.

apt update
apt install plexmediaserver -y
systemctl enable plexmediaserver

That’s it. Now we go straight to the GUI at http://<ip-address>:32400/web

The first thing is to create the libraries, and we’re going to map the storage folders:

Depending on the size of the library, this can take between a minute and a few days.

Remember that I provided excessive resources to the VM; that will be helpful now.
Later, once the libs are read, we can remove at least two vCPU and reduce to 4 gigs of memory.

That was a quick one!

More homelab posts:

1 2 3 4

Leave a Comment

Your email address will not be published. Required fields are marked *