Install the Home Media Center PlexMediaServer in Linux

Source: Internet
Author: User
This article will show you how to easily install PlexMediaServer on the latest mainstream Linux releases. After the Plex is successfully installed, you can use your central Family Media Playback System, which allows multiple Plex player apps to share their media resources, in addition, the system allows you to set up your environment, add your devices, and set a user group that can use Plex together. Let's start the installation of the Plex on Ubuntu15.04 first. Ubuntu/Fedora/CentO

This article will show you how to easily install the Plex Media Server on the latest mainstream Linux releases. After the Plex is successfully installed, you can use your central Family Media Playback System, which allows multiple Plex player apps to share their media resources, in addition, the system allows you to set up your environment, add your devices, and set a user group that can use Plex together. Let's start the installation of the Plex on Ubuntu15.04 first.

Ubuntu/Fedora/CentOS system how to install the Plex Media Server 0.9.9 http://www.linuxidc.com/Linux/2014-08/105943.htm

 

Basic System Resources

System resources mainly depend on the type and quantity of devices you intend to connect to the service, so we will use the following system resources on a separate server as needed.

Plex Media Server
Basic Operating System Ubuntu 15.04/CentOS 7.1/Fedora 22 Work Station
Plex Media Server Version 0.9.12.3.1173-937aac3
RAM and CPU 1 GB, 2.0 GHZ
Hard Disk 30 GB

 

Install Plex Media Server 0.9.12.3 on Ubuntu 15.04

We are now preparing to install the Plex Media Server on Ubuntu. Let's start with the following steps to prepare the Plex.

 

Step 1: update the system

Log on to your server with the root permission. Make sure that your system is up-to-date. If not, use the following command.

  1. root@ubuntu-15:~#apt-get update

 

Step 2: download the latest Plex Media Server package

Create a new directory, use the wget command to download the. deb package for Ubuntu from the official site of Plex, and put it in this directory.

  1. root@ubuntu-15:~# cd /plex/
  2. root@ubuntu-15:/plex#
  3. root@ubuntu-15:/plex# wget https://downloads.plex.tv/plex-media-server/0.9.12.3.1173-937aac3/plexmediaserver_0.9.12.3.1173-937aac3_amd64.deb

 

Step 3: Install the Debian package of the Plex Media Server

Now run the following command in the same directory to start debian package installation, and then check the plexmediaserver service status.

  1. root@ubuntu-15:/plex# dpkg -i plexmediaserver_0.9.12.3.1173-937aac3_amd64.deb
  1. root@ubuntu-15:~# service plexmediaserver status

Plexmediaserver Service

 

Set the Plex Media Web Application on Ubuntu 15.04

Let's open a web browser in your local network host and use your local host IP address and port 32400 to open the Web interface. Complete the following steps to configure the Plex.

  1. http://172.25.10.179:32400/web
  2. http://localhost:32400/web

 

Step 1: register before Logon

After you access the Web interface of the Plex Media Server, make sure to register and enter your username and password to log on.

Plex Sign In

 

Enter your PIN to protect your Plex Media users

Plex User Pin

Now you have successfully configured your users in Plex Media.

Welcome To Plex

 

Enable the Plex Web application on the device rather than on the local server

As shown in the message "You are not authorized to access this service" on the Plex Media homepage ". This indicates that we are not in the same network as the server computer.

Plex Server Permissions

Now we need to solve this permission problem so that we can access the server through the device instead of only on the server. Complete the following steps.

 

Set an SSH tunnel to allow Windows to access Linux servers

First, we need to establish an SSH tunnel so that we can access the remote server resources, just as the resources are local. This is just the necessary initial settings.

If you are using Windows as your local system and Linux as the server, you can set the SSH tunnel by referring to Putty. First, you must configure an SSH Session with the IP address of the Plex server in the Putty Session to configure the following tunnel forwarding rules. Click "Open" and enter the username and password of the remote server to maintain the SSH session connection .)

Plex SSH Tunnel

Once you complete the SSH tunnel settings:

Open your Web browser window and enter the following URL in the address bar.

  1. http://localhost:8888/web

The browser will connect to the Plex server and load the Plex Web application that is consistent with the local function of the server. Agree to the terms of service and start.

Agree to Plex term

Now, a fully functional Plex Media Server is ready to add resources such as Media libraries, channels, and playlists.

PMS Settings

 

Install Plex Media Server 0.9.12.3 on CentOS 7.1

We will install the Plex on CentOS 7.1 following the steps above to install the Plex Media Server on Ubuntu15.04.

Let's start by installing the Plex Media Server.

 

Step 1: Install the Plex Media Server

To install the Plex Media Server on CentOS7.1, We need to download the rpm installation package from the official site of Plex. Therefore, we use the wget command to download the rpm package to a new directory.

  1. [root@linux-tutorials ~]# cd /plex
  2. [root@linux-tutorials plex]# wget https://downloads.plex.tv/plex-media-server/0.9.12.3.1173-937aac3/plexmediaserver-0.9.12.3.1173-937aac3.x86_64.rpm

 

Step 2: Install the RPM package

After the complete installation package is downloaded, we will use the rpm command to install the rpm package in the same directory.

  1. [root@linux-tutorials plex]# ls
  2. plexmediaserver-0.9.12.3.1173-937aac3.x86_64.rpm
  3. [root@linux-tutorials plex]# rpm -i plexmediaserver-0.9.12.3.1173-937aac3.x86_64.rpm

 

Step 3: Start Plexmediaservice

We have successfully installed the Plex Media Server. Now we only need to restart its service and enable it permanently.

  1. [root@linux-tutorials plex]# systemctl start plexmediaserver.service
  2. [root@linux-tutorials plex]# systemctl enable plexmediaserver.service
  3. [root@linux-tutorials plex]# systemctl status plexmediaserver.service

 

Set the Plex Media Web application on a CentOS-7.1

Now we only need to repeat all the steps for setting the Plex Web application on Ubuntu. Let's open a new window in the Web browser and use the IP address of localhost or Plex server to access the Plex Media Web application.

  1. http://172.20.3.174:32400/web
  2. http://localhost:32400/web

To obtain full service permissions, repeat the steps for creating an SSH tunnel. After you register with a new account, we can access all the features of the service, add new users, add new media libraries, and set them as needed.

Plex Device Centos

 

Install Plex Media Server 0.9.12.3 on the ora 22 Workstation

The steps for downloading and installing the Plex Media Server are basically the same as those for installing the Media Server on CentOS 7.1. We only need to download the corresponding rpm package and use the rpm command to install it.

PMS Installation

 

Configure the Plex Media Web application on the ora 22 Workstation

We configure the Plex Media Server on the same host (as the Plex Server), so there is no need to set an SSH tunnel. On your ora 22 workstation, use the default port number 32400 of the Plex Media Server to open the Web browser and agree to the terms of service of the Plex.

Welcome to the Plex ora 22 workstation's Plex Media Server.

Let's log on with your Plex account and start adding your favorite movie channels to the media repository, creating your playlist, adding your images, and enjoying more features.

Plex Add Libraries

 

Summary

We have successfully installed and configured the Plex Media Server on mainstream Linux distributions. Plex Media Server is always the best choice for Media management. Its cross-platform settings are so simple, just like the settings on Ubuntu, CentOS, and Fedora. It simplifies the work of organizing media content and "streams" media content to other computers and devices so that you can share media content with your friends.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

Via: http://linoxide.com/tools/install-plex-media-server-ubuntu-centos-7-1-fedora-22/

Author: kasconditioned Siddique Translator: dingdongnigetou Proofreader: wxy

This article was originally translated by LCTT and launched with the Linux honor in China

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-07/120845.htm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.