Learn How To Installing Plex Media Server on CentOS 7
Table of Contents
Plex is a media server that allows you to stream music, home videos, and more to your devices. This article will guide you through the installation of Plex on your CentOS 7 (64-bit) server.
Note: Plex can be quite demanding (resource-wise) during transcoding (that is, converting from different media formats and video resolutions) operations. If you do not plan on having devices that will request a different resolution or format than that of your media, you can use a regular instance. Otherwise, transcoding may require you to get a larger amount of RAM and potentially one of IT Web Services’s dedicated instances.
If you will be transcoding media, the recommended specifications are:
- two or more cores
- four or more gigabytes of RAM
This is about equivalent to IT Web Services’s 120GB Dedicated instance
If you won’t be transcoding any media, you can get away with as little as:
- one CPU core or more
- one gigabyte of RAM or more
Apart from having these recommended server specifications, you will need a 64-bit system running CentOS 7. Also, you will need:
vim(this tutorial will be using
Before we begin, we will need to update our system:
yum update -y
Add Plex’s repository:
Paste the following:
[Plex] name=Plex baseurl=https://downloads.plex.tv/repo/rpm/$basearch/ enabled=1 gpgkey=https://downloads.plex.tv/plex-keys/PlexSign.key gpgcheck=1
Save, (CTRL + O), and exit, (CTRL + X).
Install Plex using
yum install plexmediaserver -y
Make Plex start automatically on boot:
systemctl enable plexmediaserver
systemctl start plexmediaserver
firewalld to allow Plex through the firewall:
Paste the following:
<?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 and exit.
firewalld about our new firewall rules:
firewall-cmd --add-service=plex --permanent
firewalld for the new rules to take effect:
Now that we’ve successfully installed Plex, head over to
You will see a “welcome” screen that resembles the following image:
Click on any of the buttons and complete the registration. Once you complete the registration, you’ll be redirected to your dashboard.
https://www.itweb.services/tutorials/linux-guides/setup-plex-media-server-on-debian-8″>Setup Plex Media Server article.
Do you need help setting up this on your own service?
Please contact us and we’ll provide you the best possible quote!