Guide

Set Up a Light Weight Raspberry Pi Plex Server (2018)

When it comes to Plex on the Raspberry Pi, the more resources you can give it, the better it will perform. So in this guide, I will show you how to setup a light weight Raspberry Pi Plex Server with only a few steps!

Let’s get started!

Hardware List

Software List

Step 1: Download and Install Raspbian Lite on Micro SD Card

First up you will need to download the latest Raspbian Lite image to your computer. Next you will need to download and install the software Etcher. Once this is done, open Etcher and choose the Micro SD Card to write to, choose the Raspbian Lite image you downloaded and then hit write and accept any warnings.

Step 2: Update and Upgrade Raspbian Lite

Let’s make sure we are running the latest version and have the latest repositories on hand by doing a quick update and upgrade of our Raspbian Lite installation.

sudo apt update
sudo apt upgrade

Step 3: Install the Transport HTTPS Package

The Transport HTTPS package is neccessary to install from HTTPS sources, so we need to make sure transport-https is installed.

sudo apt install apt-transport-https -y

Step 4: Add Necessary Repository to Raspbian Lite

Next we need to add some new repository sources to our Raspberry Pi so we can install Plex Media Server. Doing a quick update aftwards will ensure we have the Plex package in our list.

wget -O - https://dev2day.de/pms/dev2day-pms.gpg.key | sudo apt-key add -
echo "deb https://dev2day.de/pms/ stretch main" | sudo tee /etc/apt/sources.list.d/pms.list
sudo apt update

Step 5: Install Plex Media Server

Now that we have everything ready we can install Plex and do a quick reboot.

sudo apt install -t stretch plexmediaserver-installer -y
reboot

Step 6: Store Plex Metadata on a USB Hard Drive (Optional)

If you really want to be using a Raspberry Pi Plex Server, then you might want to consider using an external USB Hard Drive. With 1080p BluRay movies ranging in size, these can be as large as 8GB if not more. If you want to learn how to Auto Mount a Windows NTFS USB Hard Drive, then follow that link. Otherwise, feel free to skip this section.

Once you have rebooted and setup your NTFS Hard Drive on your Raspberry Pi, we need to create a new folder for Plex data so it doesn’t fill up the SD Card. Replace usbhdd with your mount point directory.

mkdir /mnt/usbhdd/plex-data
sudo cp -r /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server /mnt/usbhdd/plex-data

A quick check should reveal a folder called Plex Media Server which means it all copied across successfully.

ls -la /mnt/usbhdd/plex-data

Now we are going to create a symlink (or Symbolic Link which is kinda like a Windows Shortcut) so Plex Server can still read all the Plex data from the hard drive.

sudo ln -s /mnt/library/plex-data/Plex\ Media\ Server /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server

And finally, let’s check that the Symlink is in place and working. You should see the Plex Media Server directory.

ls -la /var/lib/plexmediaserver/Library/Application\ Support

Step 7: Connect to the Raspberry Pi Plex Server

Now we have everything setup on the Raspberry Pi, we need to login to the Plex Media Server from a Computer. This can be via the Raspberry Pi’s IP address which you can find by doing the following command.

hostname -I

Once you have that IP Address, jump over to your computers web browser and type in the following using your IP then colon 32400

192.168.1.xxx:32400/web/

Go through the login and setup prompts selecting which folders have Movies and which have TV Shows. In my case, it is under usbhdd/media/movies and usbhdd/media/tv when choosing sources.

Now through my testing, I found that Transcoding on a Raspberry Pi 3 B+ was a little hit and miss with 1080p files. So to combat this, I changed the section under Settings, Quality, Video Quality to Maximum. This greatly improved my h.264 encoded streaming from the Raspberry Pi using Plex. I wouldn’t recommend h.265 encoded files at this stage due to the amount of horsepower they require to decode. Now you will have a fully setup Raspberry Pi Plex Server ready to stream all your movies and tv media files!

 

Jonathan Russell

Jonathan is a tech expert who writes and produces videos on technology tutorials and reviews. With over 25 years experience in technology hardware and software, he has a vast array of technology knowledge. For more great content, search TechWizTime on YouTube.

Recent Posts

Cool Tech Under $50 – May!

Today we've got some cool tech gadgets under $50 for ya! Download WhatNot & win…

13 hours ago

Most Powerful ebike under £800 – Duotts C29 (750W, 100KM Range)

Take your biking adventures to the next level with the Duotts C29 ebike featuring super…

1 day ago

Porsche Design Honor Magic 6 RSR – My FAV Android Smartphone!

Here's the new Porsche Design Honor Magic6 RSR in Frozen Berry Metallic. It's the latest…

1 day ago

Google Gemini AI Beginners Guide (2024)

This is a beginners guide tutorial for new users of Google Gemini AI. Subscribe! ▶…

2 days ago

The Best Google Slides Tips 2024

These are the best Google Slides tips for 2024! 🔔 SUBSCRIBE for more Tech Tips:…

2 days ago

11 New Gadgets And Inventions 2024 | You Need To See

11 New Gadgets And Inventions 2024 | You Need To See 🔗 LINKS Alight Cube…

3 days ago