In this tutorial, we will show you how to install the Plex media server on your CentOS 7. For those of you who didn’t know, Plex is a free piece of software that allows you to organize your movies, TV shows, music, and photos in one beautiful interface and stream those media files on your PC, tablet, phone, TV, Roku, etc on the network or over the Internet.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of Plex on a CentOS 7 server.
Prerequisites
- A server running one of the following operating systems: CentOS 7.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- An active internet connection. You’ll need an internet connection to download the necessary packages and dependencies for Plex.
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Plex Media Server on CentOS 7
Step 1. First, let’s start by ensuring your system is up-to-date.
yum clean all yum -y update
Step 2. Installing Plex on CentOS 7.
Go to the Plex Downloads page and copy the installation link for CentOS. Use wget
to download the installer via the copied link:
wget https://downloads.plex.tv/plex-media-server/1.14.1.5488-cc260c476/plexmediaserver-1.14.1.5488-cc260c476.x86_64.rpm sudo yum install plexmediaserver*.rpm
Then, start the Plex Media Server and enable it to start on boot time by running the following command:
sudo systemctl enable plexmediaserver.service sudo systemctl start plexmediaserver.service
Step 3. Configure Plex.
Now, open a web browser and type the following address. Change the IP address with your CentOS 7 IP address:
http://[your-server-ip-address]:32400/web/
Congratulations! You have successfully installed Plex. Thanks for using this tutorial for installing Plex Media Server on CentOS 7 system. For additional help or useful information, we recommend you check the official Plex website.