◆Smart Home Ideas Journal

Plex Media Server Setup on Ubuntu: A Step-by-Step Guide

By

Setting up a Plex Media Server on Ubuntu not only organizes your media collection but also allows you to stream it to various devices, both locally and remotely. Ubuntu's robust, user-friendly, and open-source nature makes it an excellent choice for this task.

Before we proceed, ensure your Ubuntu system is up-to-date. Open a terminal and run the following commands:

Installing Plex Media Server

To begin, we'll add the Plex repository to your system's sources list and install the Plex package.

How to Install Plex Media Server on Linux: A Tutorial for Newbie
How to Install Plex Media Server on Linux: A Tutorial for Newbie
How To Setup A Headless Media Server Using Ubuntu 14.04 and Plex Software | Chubbable Blog Site
How To Setup A Headless Media Server Using Ubuntu 14.04 and Plex Software | Chubbable Blog Site
PLEX Media Server | Complete Setup on Linux
PLEX Media Server | Complete Setup on Linux

In the terminal, run:

wget -P /tmp/ https://downloads.plex.tv/plex-2.74.6-588b265f0-linux-x86_64.tar.gz
sudo mkdir -p /opt/plex
sudo tar -C /opt/plex --strip-components 1 -xzf /tmp/plex-*.tar.gz
sudo ln -s /opt/plex/PlexMediaServer /usr/bin/plex
sudo chown -R root:plex /opt/plex/
sudo chmod -R 775 /opt/plex/

Now that Plex is installed, let's configure it.

How to install the Plex Media Player on Ubuntu
How to install the Plex Media Player on Ubuntu
Plex Live TV & DVR: An Imperfect But Essential Tool for Cord Cutters
Plex Live TV & DVR: An Imperfect But Essential Tool for Cord Cutters
a flat screen tv sitting on top of a white table next to a lamp and chair
a flat screen tv sitting on top of a white table next to a lamp and chair

Setting Up Plex Media Server

Start the Plex server with the command:

sudo /usr/bin/plex

Your browser should open automatically with the Plex setup page. If not, navigate to .

Complete the setup, create a Plex account if you don't have one, and sign in.

How to Install and Setup Plex on your Computer
How to Install and Setup Plex on your Computer
How to Turn Your Old Laptop Into a Plex Media Server
How to Turn Your Old Laptop Into a Plex Media Server
Running the Plex Media Server in a Docker Container
Running the Plex Media Server in a Docker Container
I ditched my Plex subscription for this self-hosted media server and never looked back
I ditched my Plex subscription for this self-hosted media server and never looked back
How to Set Up a Plex Server on MacOS - Make Tech Easier
How to Set Up a Plex Server on MacOS - Make Tech Easier
Starting a Plex Media Server - Everything you need to know
Starting a Plex Media Server - Everything you need to know

Setting Up Your Media Libraries

Next, you'll need to tell Plex where to find your media files. Click on "Add New Library". Choose the type of library (Movies, TV Shows, Music, etc.) and select the folder containing your media files.

You can personalize your library by adding posters, fan art, and other metadata. You can also limit the content to specific device/release year, etc.

Accessing and Managing Your Server Remotely

To access your Plex server remotely, you'll need to set up port forwarding on your router and enable remote access in Plex.

a book with the title plex a manual for your media, with style
a book with the title plex a manual for your media, with style
the plex app on an iphone with movies and other things to watch in it
the plex app on an iphone with movies and other things to watch in it
How to Turn Your Old Laptop Into a Plex Media Server
How to Turn Your Old Laptop Into a Plex Media Server
How-to: Setting up a Plex Environment - Engadget
How-to: Setting up a Plex Environment - Engadget
I Wish I'd Known These 5 Tips Before I Started Using Plex
I Wish I'd Known These 5 Tips Before I Started Using Plex
7 Hidden Plex Settings You Should Be Using
7 Hidden Plex Settings You Should Be Using
Tutorial: Mediencenter Plex auf Low-Cost-Hardware
Tutorial: Mediencenter Plex auf Low-Cost-Hardware
Getting Started With Plex Media Server on Raspberry Pi
Getting Started With Plex Media Server on Raspberry Pi
Guide to Building Your Own PLEX Media Server - Cheap and Easy
Guide to Building Your Own PLEX Media Server - Cheap and Easy
Plex Announces New Desktop App, Leaves HTPCs Behind
Plex Announces New Desktop App, Leaves HTPCs Behind
No Plex App, No Problem: Using Plex as a DLNA/UPnP Server
No Plex App, No Problem: Using Plex as a DLNA/UPnP Server
How to Change Plex Library Location
How to Change Plex Library Location

In Plex, go to Settings > Server > Remote Access and click "Connect". Follow the on-screen instructions to connect and verify your server.

Installing Plex Companion App

To manage your server and stream content, install the Plex Companion app on your devices. It's available on various platforms, including iOS, Android, Windows, and macOS.

Log in to the app using your Plex account, and you'll see your server along with all the content you've made available.

There you have it! Your Plex Media Server is now set up and ready to stream your movies, TV shows, and music. Happy watching! Remember to keep your server and Ubuntu system up-to-date for the best performance and security.