Plex/Installation
From r00tedvw.com wiki
(Difference between revisions)
(Created page with "Installation") |
|||
(9 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
[[Plex/Installation|Installation]] | [[Plex/Installation|Installation]] | ||
+ | =Overview= | ||
+ | Done on Centos 7 x64 | ||
+ | |||
+ | =Dependencies= | ||
+ | <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= | ||
+ | <nowiki>~$ sudo yum install -y plexmediaserver</nowiki> | ||
+ | |||
+ | =Add NFS v3 mount= | ||
+ | test to make sure you can mount it. | ||
+ | <nowiki>~$ sudo mkdir -p /opt/plex | ||
+ | ~$ 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/