How to Install Plex Media Server on CentOS 7 / Ubuntu 16.04

In this article, we will show you how easily you can setup Plex Home Media Server on major Linux distributions with their latest releases.

After its successful installation of Plex you will be able to use your centralized home media playback system that streams its media to many Plex player Apps and the Plex Home will allows you to setup your environment by adding your devices and to setup a group of users that all can use Plex Together.

So let’s start media server installation first on Centos 7.

Basic System Resources

System resources mainly depend on the type and number of devices that you are planning to connect with the server. So according to our requirements, we will be using as following system resources and software for a standalone server.

Plex Home Media Server
Base Operating SystemUbuntu 16.04 / CentOS 7 / Fedora 22 Work Station
Plex Media ServerVersion
RAM and CPU1 GB  , 2.0 GHZ
Hard Disk30 GB

Install Plex Media Server on CentOS 7

So let's start with Plex Media Servers Package Installation

Step 1: Plex Media Server Installation

To install Plex Media Server on centOS 7 we need to download the .rpm package from the official website of Plex. So we will use wget command to download .rpm package for this purpose in a new directory.

[root@linux-tutorials ~]# cd /plex
[root@linux-tutorials plex]# wget

Step 2: Install .RPM Package

After completion of complete download package we will install this package using rpm command within the same directory where we installed the .rpm package.

[root@linux-tutorials plex]# ls
[root@linux-tutorials plex]# rpm -i plexmediaserver-

Step 3: Start Plexmediaservice
We have successfully installed Plex Media Server Now we just need to restart its service and then enable it permanently.

[root@linux-tutorials plex]# systemctl start plexmediaserver.service
[root@linux-tutorials plex]# systemctl enable plexmediaserver.service
[root@linux-tutorials plex]# systemctl status plexmediaserver.service

Plex Home Media Web App Setup on CentOS 7

Now we just need to repeat all steps that we performed during the Web app setup of Ubuntu.
So let's Open a new window in your web browser and access the Plex Media Server Web app using localhost or IP or your Plex server.

Then to get full permissions on the server you need to repeat the steps to create the SSH-Tunnel.
After signing up with new user account we will be able to access its all features and can add new users, add new libraries and setup it per our needs.

Plex Device Centos

Install Plex Media Server on Fedora 22

The Basic steps to download and install Plex Media Server are the same as we did for in CentOS 7.1.
We just need to download its .rpm package and then install it with rpm command.

PMS Installation

Plex Home Media Web App Setup on Fedora 22 Work Station

We had setup Plex Media Server on the same host so we don't need to setup SSH-Tunnel in this time scenario. Just open the web browser in your Fedora 22 Workstation with default port 32400 of Plex Home Media Server and accept the Plex Terms of Services Agreement.

Plex Agreement

Welcome to Plex Home Media Server on Fedora 22 Workstation

Lets login with your plex account and start with adding your libraries for your favorite movie channels, create your playlists, add your photos and enjoy with many other features of Plex Home Media Server.

Plex Add Libraries

Install Plex Media Server on Ubuntu 16.04

We are now ready to start the installations process of Plex Media Server on Ubuntu so let’s start with the following steps to get it ready.

Step 1: System Update

Login to your server with root privileges Make your that your system is upto date if not then do by using below command.

root@ubuntu-16:~#apt-get update

Step 2: Download the Latest Plex Media Server Package
Create a new directory and download .deb plex Media Package in it from the official website of Plex for Ubuntu using wget command.

root@ubuntu-16:~# cd /plex/
root@ubuntu-16:/plex# wget

Step 3: Install the Debian Package of Plex Media Server

Now within the same directory run following command to start installation of debian package and then check the status of plekmediaserver.

root@ubuntu-16:/plex# dpkg -i plexmediaserver_0.
root@ubuntu-16:~# service plexmediaserver status

Plexmediaserver Service

Plex Home Media Web App Setup on Ubuntu

Let's open your web browser within your localhost network and open the Web Interface with your localhost IP and port 32400 and do following steps to configure it:

Step 1: Sign UP before Login

After you have access to the web interface of Plesk Media Server make sure to Sign Up and set your username email ID and Password to login as.

Plex Sign In

Step 2: Enter Your Pin to Secure Your Plex Media Home User

Plex User Pin

Now you have successfully configured your user under Plex Home Media.

Welcome To Plex

Opening Plex Web App on Devices Other than Localhost Server

As we have seen in our Plex media home page that it indicates that "You do not have permissions to access this server". Its because of we are on a different network than the Server computer.

Plex Server Permissions

Now we need to resolve this permissions issue so that we can have access to server on the devices other than the hosted server by doing following setup.

Setup SSH Tunnel for Windows System to access Linux Server

First, we need to set up a SSH tunnel so that we can access things as if they were local. This is only necessary for the initial setup.

If you are using Windows as your local system and server on Linux then we can setup SSH-Tunneling using Putty as shown.

Plex SSH Tunnel

Once you have the SSH tunnel set up:

Open your Web browser window and type following URL in the address bar.


The browser will connect to the server and load the Plex Web App with same functionality as on local.
Agree to the terms of Services and start

Agree to Plex term

Now a fully functional Plex Home Media Server is ready to add new media libraries, channels, playlists etc.

PMS Settings


We had successfully installed and configured Plex Media Server on Major Linux Distributions. So, Plex Home Media Server has always been a best choice for media management. Its so simple to setup on cross platform as we did for Ubuntu, CentOS and Fedora. It has simplifies the tasks of organizing your media content and streaming to other computers and devices then to share it with your friends.

Kashif Siddique 3:00 am


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


    1. Also wanted to say thanks! That SSH tunneling was the key to getting my plex set up on a headless Fedora 24 server. Great guide. Works.

  1. Been searching everywhere... I've set up Plex on Ubuntu Server and successfully tested streaming output to various clients. What I cannot seem to do is stream output to the server's own sound card (onboard). The Intel and Realtek pkgs are successfully installed but I cannot find in any Plex (or other) info source on how to direct output to those resources.

    Anyone's help would be greatly appreciated. My fingernails are getting short!! (lol)