Last time I showed you how to mount an USB drive and install Samba on your RaspberryPI, but thats not all I needed it for. I needed it for Plex so I can view my series and my movies all trough the house.

A little disclaimer, you should only use Plex for legal streaming of your owned content. That being said and me being covered, lets get going!

Start with the defaults;

sudo apt-get update
sudo apt-get upgrade

Some prerequisites

Plex offers their software trough APT but they do that safe and secure with https. In order to receive those packages first we got to let APT be able to reach https.

sudo apt-get install apt-transport-https

Add the PGP key for Plex

curl | sudo apt-key add -

And finally add the repo where we can get the package

echo deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list

Update the list with packages
sudo apt-get update

Good to go!

sudo apt-get install plexmediaserver

Since I used the ‘pi’ user everywhere I want Plex to use it as well. By default it doesn’t so lets change that with editing a file.
sudo nano /etc/default/plexmediaserver

Change the following line to contain pi instead of plex as uservalue

Reboot the plex service
sudo systemctl restart plexmediaserver

And we are good to go.

Navigate in a browser to the ipaddress of the PI and add the Plex port

Want to get an email when a new post is placed? Subscribe!