Random Things

Posts on anything and everything

Labels

Airlines Amazon Auto Electronics Entertainment Faith FB Finance Fix Things Food Gaming Geography Google HaHa's Health Information Mac Microsoft Military Movies Music News Personal Photography Politics Recalls Reviews Riddle Science Security SM Space Sports Tech Terms Thoughts Tools Travel Trivia Videos VR World News

Thursday, January 24, 2019

Raspbery Pi into a Plex Server

How to Turn a Raspbery Pi into a Plex Server

JOSH HENDRICKSON  @canterrain 

Plex Server showing movie library

Plex Media Servers are great for storing and accessing all your movies, tv shows, and other media. Unfortunately, Plex Server hardware can be expensive, electricity intensive, or both. To reduce both bills,  use a Raspberry Pi for a Plex Server.

What You Need to Know

Running a Raspberry Pi as a Plex Server does come with several benefits. It won’t take up as much room as a server or a full-size PC. It also will use less electricity, even when idle all day. Best of all, it costs less than most other hardware capable of working as a server.
There are some downsides to be aware of, though. The Raspberry Pi 3 has an ARM processor that just doesn’t have the power to support transcoding. So when you are setting up your videos, you are going to want to choose MKV as your video format. That will usually bypass the need for transcoding. (Just about every Plex player supports MKV without transcoding on the fly, but a few smart TVs might have problems.)
Even then, while you’ll be able to watch standard Blu-ray quality locally, you probably won’t be able to view these videos remotely. And 4K Videos are likely not going to play well either. Also, keep in mind that this is not officially supported, and you’ll need to update the server software manually.
But once you account for those potential pitfalls, the Raspberry Pi does make a competent Plex Media Server.

Getting Started

Compared to using a dedicated full PC or an NVIDIA Shield as a Plex Server, the costs to get started with a Raspberry Pi are relatively low. You’ll need:
  • Raspberry Pi 3
  • MicroSD card
  • Power supply
  • Ethernet Cord (if possible)
  • External storage such as USB drive or NAS unit
  • Powered USB hub for USB drive
Optionally you might want to consider a case and a heat sink for the Raspberry Pi. You’ll need a monitor, keyboard, and mouse to get everything in place, but after that, you can run the Pi headless.
To start with, you will want to set your Raspberry Pi up following the standard steps. The easiest thing to do is get a copy of NOOBS to install the latest version of Raspbian.
Once you have Raspbian installed, you’ll do nearly everything else in the terminal. You don’t need to be familiar with terminal, though; you can copy and paste the commands below.

Configuring The Software

RaspberryPi terminal window
The first thing to do is ensure the Raspberry Pi is fully up to date. So run the following commands:
sudo apt-get update
sudo apt-get upgrade
And provide the root password when prompted. Alternatively, you can use SU and skip all the sudo entries.
After all your updates are finished, you’ll need to install the “apt-transport-https” package. This allows Plex Server from an HTTPS source. Run this command:
sudo apt-get install apt-transport-https
The next step is to add the crypto key for the dev2day website (the source of this software):
wget -O - https://dev2day.de/pms/dev2day-pms.gpg.key | apt-key add -
terminal command: wget -O - https://dev2day.de/pms/dev2day-pms.gpg.key | apt-key add -
Run the following command to add the dev2day repository to the package source list:
echo "deb https://dev2day.de/pms/ stretch main" >> /etc/apt/sources.list.d/pms.list
terminal command: echo "deb https://dev2day.de/pms/ stretch main" >> /etc/apt/sources.list.d/pms.list
Now you’ve added the dev2day repository, it’s time to update the package list:
sudo apt-get update
Now, you’re ready to install Plex Media Server. Just type the following command and hit Enter:
sudo apt-get install plexmediaserver-installer
After the Plex Server software finishes installing, there are just a few more details to take care of.

Final Details

To avoid any permissions issue,  it’s best to make Plex run under the Pi user. Type the following command and hit Enter:
sudo nano /etc/default/plexmediaserver.prev
You should see a line that says:
PLEX_MEDIA_SERVER_USER=plex
Change the word “plex” to “pi” and then use Ctrl+X to close the file. Choose to save and overwrite the file.
terminal window: changing Plex to Pi as the user
For reliable remote access, you’ll want a static IP. Once the Raspberry Pi has rebooted, open the terminal and run this command:
hostname -I
That’s the current IP address, write that down or type it into a text editor.
Now open the cmdline.txt file with the following command:
sudo nano /boot/cmdline.txt
At the bottom of the file, type in the following:
ip=TheIPYouWroteDown
terminal window: changing the ip address
Using the IP you wrote down previously. Then use Ctrl+X to close the file and save it.
Now reboot your Raspberry Pi with the following command:
sudo reboot
And your Raspberry Pi is now a functioning Plex Server. You’re ready to head to plext.tv/web on any browser to detect and associate the Plex Server to your account. Then you’ll need to configure your Raspberry Pi to recognize an external drive, rip your DVDs, or Blu-Rays, and then name your media files per the Plex guidelines.
Once you have everything in place, you’ll have access to your media collection on just about any device, from your phone to your game console. It’s a great Plex Server option that won’t break the bank.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Facebook Badge

Jim White

Create Your Badge

Followers

Subscribe To Random Things

Posts
Atom
Posts
Comments
Atom
Comments

Blog Archive

  • ▼  2019 (697)
    • ►  April (23)
    • ►  March (166)
    • ►  February (188)
    • ▼  January (320)
      • Famous Doomed Ship
      • 3D-Printed Bridge
      • 14th Illness
      • Earth's Oldest Known Rock
      • Movie Preview - Miss Bala
      • Army’s 1,000 Mile Supergun
      • Tyson Foods Recall
      • Super Bowl Adverts
      • A Unifying Christ
      • Today's Encouragement
      • Thur Devotional
      • Automation
      • Man Stopped w/ 5K Leeches
      • Apple FaceTime
      • Mile-Long Hole
      • Ben & Jerry's 3 New Flavors
      • Measles Outbreak
      • Entertainment News
      • Pineapple Hospitality
      • Today's Encouragement
      • Wed Devotional
      • Gaming Subscription Service
      • Staving Off Dementia
      • Hotel Discounts
      • World-Famous Banking Family
      • Dangerously Cold
      • Human Ancestor
      • Entertainment News
      • Love…and Other Mysteries
      • Today's Encouragement
      • Tues Devotional
      • Craft Brewery Finally Open
      • Airplane Wings
      • Weekend Box Office Results
      • Stamps Increasing
      • Salmonella Outbreak
      • World News
      • Entertainment News
      • Understanding
      • Today's Encouragement
      • Mon Devotional
      • $200-million Abandoned Village
      • Puppies on Planes
      • Alexander the Great
      • 28 Minutes Long Ride
      • Sun Devotional
      • Dangerously Cold Winter Storm
      • Work From Home Jobs
      • Put On the New
      • What You Think
      • Staying Fit
      • the Meek
      • Futuristic Hotel
      • Entertainment News
      • Famed Explorer Is Found
      • Most Expensive US Home
      • World's Richest
      • Long-distance Routes for Free
      • New Shark Species
      • AirPlay Is Coming
      • Mushroom or an Oak Tree?
      • Owned by Identity
      • Doomsday clock
      • Saudi Sisters Mystery Solved
      • Hawking's Wildest Theories
      • Alaska Airlines Is Hiring
      • Monarch Butterflies Extinction
      • Hulu Lowers Prices
      • Closing the Wii Shop Channel
      • What You Think, You Are
      • Today's Encouragement
      • Fri Devotional
      • Movie Preview - The Kid Who Would Be King
      • Free Bacon
      • Windows 10 Mobile Support
      • Raspbery Pi into a Plex Server
      • Catch a Virus
      • Acoustic-Electric Hybrid Guitar
      • Greenland's Ice Melt
      • Entertainment News
      • Working Forgotten Muscles
      • Today's Encouragement
      • Thur Devotional
      • WhatsApp Limits
      • Best Time to Book
      • Eat More Potassium
      • Giant Billboards in Space
      • Sports News
      • Financial News
      • Entertainment News
      • Movie Preview - Serenity (2018)
      • Change by Accident
      • Today's Encouragement
      • British Royal Family
      • Were You Compromised?
      • Track Phone’s Precise Location
      • Volkswagen's Adding Jobs
      • Choose Attic Insulation
      • New FB Signs
      • Entertainment News
  • ►  2018 (4481)
    • ►  December (343)
    • ►  November (346)
    • ►  October (385)
    • ►  September (373)
    • ►  August (386)
    • ►  July (385)
    • ►  June (359)
    • ►  May (378)
    • ►  April (384)
    • ►  March (396)
    • ►  February (353)
    • ►  January (393)
  • ►  2017 (4506)
    • ►  December (389)
    • ►  November (382)
    • ►  October (399)
    • ►  September (368)
    • ►  August (406)
    • ►  July (386)
    • ►  June (378)
    • ►  May (383)
    • ►  April (354)
    • ►  March (374)
    • ►  February (337)
    • ►  January (350)
  • ►  2016 (3443)
    • ►  December (353)
    • ►  November (360)
    • ►  October (365)
    • ►  September (338)
    • ►  August (329)
    • ►  July (331)
    • ►  June (332)
    • ►  May (356)
    • ►  April (342)
    • ►  March (316)
    • ►  February (21)

Who I B

Dubs
View my complete profile
Picture Window theme. Powered by Blogger.

Translate