Using Plex Media Server on a Raspberry PI 3

I am currently experimenting to create a cheap Plex Media Server running on a Raspberry Pi 3!

I am aiming to share my media to my chromecast and my smartphone. So that I can play my music everywhere or turn off my PC when watching a TV Show.

I followed this guide:  https://www.element14.com/community/community/raspberry-pi/raspberrypi_projects/blog/2016/03/11/a-more-powerful-plex-media-server-using-raspberry-pi-3.

Install Raspbian

Raspbian is easily installed! Download the latest lite version: https://www.raspberrypi.org/downloads/raspbian/. At the moment of writing, Raspbian Stretch Lite was used.

On windows, I prefer Etcher to burn the image on an SD card This may help you if you don’t know how to do it.

After loading the image, connect your usb keyboard and hdmi monitor so you can get started with your Pi 3! Now connect the power and see it boot up!

SSH not working?

Already twice I’ve experienced SSH not working with a Connection refused exception in putty.

The problems lies with the host certificate used for ssh and the solution is to remove them and generate them again:

sudo rm /etc/ssh/ssh_host_* && sudo dpkg-reconfigure openssh-server

Ntfs

To use ntfs usb stick I had to install ntfs-3g:

sudo apt-get install ntfs-3g

Then I could use ntfs-3g as a type:

Spin down the hard disk

I tried this guide but unfortunately my old external hard drive doesn’t really support spinning down. I am also not certain if it really ads value.

Let’s install Plex!

Best to begin with updating your Raspbian installation!

sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get update && sudo apt-get dist-upgrade

Install Plex:

sudo apt-get install apt-transport-https -y --force-yes
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-get update
sudo apt-get install -t stretch plexmediaserver-installer -y

Now restart your PI:

sudo reboot

After figuring out your ip, you should be also to surf to Plex: 192.168.0.3:32400/web and register your new server!

Sources

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.