In this tutorial we’ll learn how to install Plex Media Server on CentOS 7. We will also install and configure its prerequisites. Plex Media Server is a free and user friendly media library platform that allows you to manage and arrange all of your own media files saved on your computer or any other device. Not only that, but lets you to stream media files to all of your devices like mobile phones, tablet computers, smart TVs, etc. From anywhere, whether you are at home or on-the-go.
I recommend to use a minimal CentOS server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.
Install Plex Media Server on CentOS 7
Step 1. First, ensure your system is fully up-to-date by running the following:
yum -y update
Step 2. Installing Plex Media Server.
Download the package for Plex media server with following command:
Once Plex is downloaded, run the yum following command to install Plex:
sudo yum install plexmediaserver*.rpm
Enable Plex Media Server to start on reboot, and then start the server:
sudo systemctl enable plexmediaserver.service sudo systemctl start plexmediaserver.service
Step 3. Configure Plex.
Now to complete the server installation we need to create a temporary SSH tunnel from our PC to the server that the Plex media server is running on:
ssh -f firstname.lastname@example.org -L 2000:localhost:32400 -N
Where 192.168.44.2 is my ip to my centos/plex server.
Enter http://localhost:8888/web into your browser to view the Plex web interface. Input your Plex account username and password to proceed with the setup process.
Congratulation’s! You have successfully install and configure Plex Media Server on your CentOS 7 server. Thanks for using this tutorial for installing Plex on CentOS 7 system.