How to install Plex Media Server on RHEL 8 AND CENTOS 8?

Windows Articles

How to create GPO in Windows Server 2019.

Hi, in today's post we will be looking at GPOs in Windows Server 2019. The Group Police Object are a set of...

How to install OpenLiteSpeed on Ubuntu 20.04?

There are several web servers for Linux but other alternatives are always welcome. In this case, I will show you how to...

Linux 5.7 available

Time passes very quickly and we already have a new version of the Linux kernel that as always we are happy because...

How to install RStudio on Ubuntu 20.04 / 18.04

No matter how complete and robust a programming language is, the programmer will always need a tool to write the code. These programs have...

How to install Arduino IDE on Ubuntu 20.04 / 18.04 / Linux Mint 19.X?

Hi, folks. In this post, we will show you how to install Arduino IDE on Ubuntu 20.04/ 18.04 and Linux mint 19.x. You probably already...
Muhammad Nabeel
Muhammad Nabeel
Network and System Administrator

Plex is a client-server media player system and software suite comprising two main components. The Plex Media Server desktop application runs on Windows, macOS, and Linux-compatibles including some types of NAS devices. The server desktop application organizes video, audio, and photos from a user’s collections and from online services, enabling the players to access and stream the contents. There are also official clients available for mobile devices, smart TVs, and streaming boxes, a web app, and Plex Home.

In this article, you will learn how to install Plex on CentOS/RHEL 8 (64-bit) server.

Prerequisites

  • RHEL or CentOS 8 Server.
  • Root Access.
  • A static IP address.

Step 1: Add Plex Repository

vi /etc/yum.repos.d/plex.repo

Add below lines in this file.

[Plex]
name=Plex
baseurl=https://downloads.plex.tv/repo/rpm/$basearch/
enabled=1
gpgkey=https://downloads.plex.tv/plex-keys/PlexSign.key
gpgcheck=1

Step 2: Installation on Plex media server

Use below command to install plex:

dnf install plexmediaserver -y

Now enable plex service on boot and start it.

systemctl enable plexmediaserver
systemctl start plexmediaserver

Step 3: Configure Firewalld for Plex

create new firewalld service configuration “plex.xml” for plex using below command.

vi /etc/firewalld/services/plex.xml

Now add below configuration in this file.

<?xml version="1.0" encoding="utf-8"?>
<service>
<short>plex</short>
<description>Ports required by Plex.</description>
<port protocol="tcp" port="32400"></port>
<port protocol="tcp" port="32469"></port>
<port protocol="tcp" port="8324"></port>
<port protocol="tcp" port="3005"></port>
<port protocol="udp" port="32414"></port>
<port protocol="udp" port="32413"></port>
<port protocol="udp" port="32412"></port>
<port protocol="udp" port="32410"></port>
<port protocol="udp" port="1900"></port>
<port protocol="udp" port="5353"></port>
</service>

Save changes and exit.

So, add “plex” service in firewalld list and restart the firewall.

firewall-cmd --add-service=plex --permanent
firewall-cmd --reload

Step 4: Access Plex Media Server

Then, you can access your Plex using below link and you will see welcome screen provided in the image below.

http://SERVER-IP:32400/web/

Now complete the registration and you will be redirected to your dashboard.

And that is it. So, enjoy it.

Als you can read our post about cezerin. Or, all our posts about CentOS.

So, do not forget to share this post with your friends and please join our Telegram Channel.

More articles

3 COMMENTS

  1. Hi, I followed the steps one by one without receiving errors, however, when I get to step 4, the plex web interface does not load

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to create GPO in Windows Server 2019.

Hi, in today's post we will be looking at GPOs in Windows Server 2019. The Group Police Object are a set of...

How to install OpenLiteSpeed on Ubuntu 20.04?

There are several web servers for Linux but other alternatives are always welcome. In this case, I will show you how to...

Linux 5.7 available

Time passes very quickly and we already have a new version of the Linux kernel that as always we are happy because...

How to install RStudio on Ubuntu 20.04 / 18.04

No matter how complete and robust a programming language is, the programmer will always need a tool to write the code. These programs have...

How to install Arduino IDE on Ubuntu 20.04 / 18.04 / Linux Mint 19.X?

Hi, folks. In this post, we will show you how to install Arduino IDE on Ubuntu 20.04/ 18.04 and Linux mint 19.x. You probably already...