Plex/Installation

From r00tedvw.com wiki
(Difference between revisions)
Jump to: navigation, search
(Install Plex Server)
 
(5 intermediate revisions by one user not shown)
Line 4: Line 4:
  
 
=Dependencies=
 
=Dependencies=
  <nowiki>~$ sudo yum install -y telnet net-tools vim tcpdump bind-utils redhat-lsb-core wget nfs-utils policycoreutils-python setroubleshoot setools </nowiki>
+
  <nowiki>~$ printf '[PlexRepo]\nname=PlexRepo\nbaseurl=https://downloads.plex.tv/repo/rpm/$basearch/\nenabled=1\ngpgk/downloads.plex.tv/plex-keys/PlexSign.key\ngpgcheck=1' | sudo tee /etc/yum.repos.d/plex.repo
 +
~$ sudo chown root:root /etc/yum.repos.d/plex.repo
 +
~$ sudo chmod 644 /etc/yum.repos.d/plex.repo
 +
~$ sudo yum clean expire-cache
 +
</nowiki>
  
 
=Install Plex Server=
 
=Install Plex Server=
Checksum: <code>5b8e3032e1751abdf6096f50e729a676e00bf94a</code>
+
<nowiki>~$ sudo yum install -y plexmediaserver</nowiki>
  <nowiki>~$ wget https://downloads.plex.tv/plex-media-server-new/1.18.9.2571-e106a8a91/redhat/plexmediaserver-1.18.9.2571-e106a8a91.x86_64.rpm
+
 
~$ openssl sha1 plexmediaserver-1.18.9.2571-e106a8a91.x86_64.rpm
+
=Add NFS v3 mount=
SHA1(plexmediaserver-1.18.9.2571-e106a8a91.x86_64.rpm)= 5b8e3032e1751abdf6096f50e729a676e00bf94a</nowiki>
+
test to make sure you can mount it.
Install
+
  <nowiki>~$ sudo mkdir -p /opt/plex
  <nowiki>~$ sudo yum install -y plexmediaserver-1.18.9.2571-e106a8a91.x86_64.rpm</nowiki>
+
~$ sudo mount -t nfs freenas-server.com:/mnt/pool_02/Plex /opt/plex
 +
~$ ls -la /opt/plex</nowiki>
 +
make it permanent.
 +
<nowiki>~$ sudo vim /etc/fstab
 +
...
 +
freenas-server.com:/mnt/pool_02/Plex        /opt/plex      nfs    defaults        0 0</nowiki>
 +
 
 +
=Configure the Plex Server=
 +
Go to:
 +
<code>http://<ip address>:32400/web</code>
 +
Use /opt/plex as your Library
 +
 
 +
=Library organization=
 +
[https://support.plex.tv/articles/naming-and-organizing-your-movie-media-files/?utm_source=Plex%20Apps&utm_medium=Plex%20Web&utm_campaign=Plex%20Apps Naming and Organizing]<br>
 +
Using IMDb ID number <code>{[source]-[id]}</code>
 +
  <nowiki>/Media
 +
  /Movies
 +
      /Batman Begins (2005) {imdb-tt0372784}
 +
        Batman Begins (2005) {imdb-tt0372784}.mp4
 +
  /Music
 +
      music content
 +
  /TV Shows
 +
      television content</nowiki>
 +
=Restarting Setup Wizard=
 +
This will remove your entire Library metadata.
 +
[https://support.plex.tv/articles/201198426-restart-plex-media-server-setup-from-scratch/ https://support.plex.tv/articles/201198426-restart-plex-media-server-setup-from-scratch/]

Latest revision as of 03:11, 18 April 2021

Installation

Contents

[edit] Overview

Done on Centos 7 x64

[edit] Dependencies

~$ printf '[PlexRepo]\nname=PlexRepo\nbaseurl=https://downloads.plex.tv/repo/rpm/$basearch/\nenabled=1\ngpgk/downloads.plex.tv/plex-keys/PlexSign.key\ngpgcheck=1' | sudo tee /etc/yum.repos.d/plex.repo
~$ sudo chown root:root /etc/yum.repos.d/plex.repo
~$ sudo chmod 644 /etc/yum.repos.d/plex.repo
~$ sudo yum clean expire-cache

[edit] Install Plex Server

~$ sudo yum install -y plexmediaserver

[edit] Add NFS v3 mount

test to make sure you can mount it.

~$ sudo mkdir -p /opt/plex
~$ sudo mount -t nfs freenas-server.com:/mnt/pool_02/Plex /opt/plex
~$ ls -la /opt/plex

make it permanent.

~$ sudo vim /etc/fstab
...
freenas-server.com:/mnt/pool_02/Plex        /opt/plex      nfs     defaults        0 0

[edit] Configure the Plex Server

Go to: http://<ip address>:32400/web Use /opt/plex as your Library

[edit] Library organization

Naming and Organizing
Using IMDb ID number {[source]-[id]}

/Media
   /Movies
      /Batman Begins (2005) {imdb-tt0372784}
         Batman Begins (2005) {imdb-tt0372784}.mp4
   /Music
      music content
   /TV Shows
      television content

[edit] Restarting Setup Wizard

This will remove your entire Library metadata. https://support.plex.tv/articles/201198426-restart-plex-media-server-setup-from-scratch/

Personal tools
Namespaces

Variants
Actions
Navigation
Mediawiki
Confluence
DevOps Tools
Ubuntu
Ubuntu 22
Mac OSX
Oracle Linux
AWS
Windows
OpenVPN
Grafana
InfluxDB2
TrueNas
OwnCloud
Pivotal
osTicket
OTRS
phpBB
WordPress
VmWare ESXI 5.1
Crypto currencies
HTML
CSS
Python
Java Script
PHP
Raspberry Pi
Canvas LMS
Kaltura Media Server
Plex Media Server
MetaSploit
Zoneminder
ShinobiCE
Photoshop CS2
Fortinet
Uploaded
Certifications
General Info
Games
Meal Plans
NC Statutes
2020 Election
Volkswagen
Covid
NCDMV
Toolbox