Plex Server on Raspberry Pi 3

Raspberry Pi. If you have not configured one yet, do yourself a favor and pick one up as soon as possible.

I purchased my Raspberry Pi 3B from Amazon. It was a kit that included the board, built-in WiFi and Bluetooth, power cable, and a sleek looking black case.


  • ARMv8 64 Quad-Core ARM Cortex-A53 1.2GHz CPU
  • 1Gb RAM
  • Built-in WiFi(802.11B/G/N)
  • Built-in Bluetooth
  • 2.5A Micro USB Power Supply
  • HDMI input
  • 4 USB 2 Ports
  • MicroSD port

I put my Pi together but made the mistake of having the MicroSD card inside the board while I put the case on. That broke my card. When I finally replaced the card I had to load up it up with a Raspian IMG file. I’ll go over the steps of how I got that done.

Setting up the Pi with Raspbian

  1. Download the latest Raspbian image. You can find it here.
  2. Download Etcher. It is an application to burn images to SD cards and USB Drives. You can get it from their website here.
  3. After downloading the Raspbian Zip file, extract it. It should end up with a 4gb .img file.
  4. Install the Etcher software.
  5. Using whatever your preferred way of connecting your MicroSD card to your computer. I like using my USB MicroSD adapter.
  6. Launch the Etcher software. It should automatically select the drive. If it does not, manually look for the drive which the MicroSD card is mounted on.
  7. Select the image file then click Flash. The process should take a couple of minutes depending on your computer.
  8. After Etcher finishes copying the image to the MicroSD card, safely remove the USB adapter. Don’t remove it without unmounting it first or you will run the risk of corrupting the card.
  9. Insert the MicroSD card into the port on the Pi then power it on.
  10. The Pi will boot up to the desktop. Now the fun part begins.

Configuring the Pi with static IP address and SSH

Now that the Pi is up and running we need to do a couple of configuration changes to allow us to remotely administer the plex server.

The first step will be to configure a static IP address. This is needed so that you can log in to the pi with the same address, always.

The second step will be enabling ssh from boot up. I like to enable SSH so that I can start/stop/restart services or install software on the Pi remotely from my Windows 10 desktop.

Configuring Static IP Address

There are a few different ways to manually configure an IP address.

The easiest, in my opinion, is to just do it from your home router. Most home routers allow you to manually set static IP addresses by MAC address.  That is the route I took.

If you are having trouble getting that done, you can get the same results by following the instructions below.

  1. First things first
    • sudo apt-get update
    • sudo apt-get upgrade
  2. Find your pi’s network card
    • ifconfig – lists all network adapters with IP Address information
      1. Take note of what network adapter you are using. In my case, I was using eth0
    • Update your /etc/dhcpcd.conf file
      1. Sudo nano /etc/dhcpcd.conf
        • Scroll to the bottom of the page and add the line below, setting the IP address information to whatever matches your home network.
          • Interface eth0
            static ip_address=
            Static Routers=
            Static domain_name_servers=
        • Save and exit the file
      2. You’re done. You can reboot the Pi to verify that the IP address is in fact static.

Enabling SSH

Like everything else in Linux, there are multiple ways to get this done. I will go over two of them.

  1. sudo raspi-config
    1. Select Interfacing Options and press enter
    2. Select SSH and press enter
    3. Select Yes and press enter
    4. Reboot your pi
    5. Verify SSH was automatically turned on by typing sudo service –status-all. SSH should have a + next to it
  2. sudo update-rc.d ssh enable
    1. After typing the command above, you’re done
    2. Restart your pi
    3. Verify SSH was turned on by typing sudo service –status-all.

Your Pi is now configured with a static IP address and has SSH enabled. From this point, you no longer needed to have a monitor, keyboard, or mouse connected to your pi. We are almost done!

Connecting/Configuring Plex remotely from Windows computer

Like most people, my home desktop is running Windows.  On the next and final part of this blog post I will go over how to connect to your Raspberry Pi and configure your plex server remotely.