Install Plex Media Server on CentOS 7
Traducciones al EspañolEstamos traduciendo nuestros guías y tutoriales al Español. Es posible que usted esté viendo una traducción generada automáticamente. Estamos trabajando con traductores profesionales para verificar las traducciones de nuestro sitio web. Este proyecto es un trabajo en curso.
Plex is a feature-rich media library platform that allows you to organize and stream your digital video and audio from virtually anywhere. Basic Plex features are free, while the paid Plex Pass adds additional features.
This guide demonstrates how to set up Plex Media Server on a Linode running CentOS 7, and how to connect client devices. A Plex media server could benefit from large amounts of disk space, so consider using Linode’s Block Storage service with this setup.
Before you Begin
You will need root access to your Linode, or a limited user account with
Plex requires that you create an account to make use of the service, and provides additional features such as DVR capability and offline viewing if you pay for their premium Plex Pass offering. To complete this guide, you will need a Plex account.
Install and Configure Plex
Go to Plex’s download page. Select Linux, and then click Choose Distribution.
In the menu that appears, right-click on CentOS 64-bit (RPM for CentOS 7 or newer) and copy the download link. Use
cURLto download the .rpm package directly to your Linode. The example below uses the current link for CentOS at the time of writing. Be sure you install the most recent version of Plex.
curl -O https://downloads.plex.tv/plex-media-server/188.8.131.5288-cc260c476/plexmediaserver-184.108.40.20688-cc260c476.x86_64.rpm
Update your system and install Plex:
sudo yum update sudo yum install plexmediaserver*.rpm
Enable Plex Media Server to start on reboot and then start the server:
sudo systemctl enable plexmediaserver sudo systemctl start plexmediaserver
Finally, you’ll create the directories that will store your Plex media. In this example we’ll create library directories for
plex-mediadirectory. These will be located within your user’s
cd ~/ mkdir -p plex-media/movies && mkdir plex-media/television
Administration of the Plex server is performed via its web interface. Before you can connect to the web interface from your workstation, you will first need to create an SSH tunnel to your Linode. Substitute
sudouser on your Linode, and
192.0.2.0with its IP address.
ssh [email protected] -L 8888:localhost:32400
http://localhost:8888/webin a web browser and log in to Plex.
Give your Plex server a name. Be sure to leave the Allow me to access my media outside my home box checked, and click Next:
Add and Organize Media
Now that you’ve signed into Plex, you should see the following page. Click the Add Library button to start setting up your media libraries.
Select your library type, and click Next.
Navigate to the corresponding media directory that you created previously, then click Add.
You can add additional libraries by clicking the + symbol next to the Libraries list on the Plex side bar:
Add your media to the appropriate directories. Be sure to review Plex’s naming conventions for media files to ensure that your files are identified correctly.
Disable DLNA (Recommended)
DLNA is a protocol that incorporates Universal Plug and Play (or UPnP) standards for digital media sharing across devices. Any DLNA device or application can have full unrestricted access to your Plex content, so disable DLNA if you won’t be using it.
From the Plex web interface, click the wrench icon in the upper right corner and then click DLNA in the left sidebar. Uncheck Enable the DLNA server and click Save Changes.
Connect to your Plex Server
Now that your server is set up, you’re ready to connect to it from a Plex client. Plex is supported by a number of different platforms and you can find a full list of client applications here.
The examples provided here will use Plex Media Player for macOS.
Download the appropriate media player application or install it via your device’s app store.
Sign in to the Plex client app using the same Plex account as your server.
Your Plex client will have a dropdown menu where you can select your server. Once it’s selected, you can navigate to the library with the content that you wish to view:
You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.
This page was originally published on