Plex/Installation
From r00tedvw.com wiki
(Difference between revisions)
| Line 4: | Line 4: | ||
=Dependencies= | =Dependencies= | ||
| − | <nowiki>~$ sudo yum | + | <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= | ||
| − | + | <nowiki>~$ sudo yum install -y plexmediaserver</nowiki> | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | <nowiki>~$ sudo yum install -y plexmediaserver | + | |
=Add NFS v3 mount= | =Add NFS v3 mount= | ||
test to make sure you can mount it. | test to make sure you can mount it. | ||
| − | <nowiki>~$ sudo mkdir -p / | + | <nowiki>~$ sudo mkdir -p /opt/plex |
| − | ~$ sudo mount -t nfs freenas-server.com:/mnt/pool_02/ | + | ~$ sudo mount -t nfs freenas-server.com:/mnt/pool_02/Plex /opt/plex |
| − | ~$ ls -la / | + | ~$ ls -la /opt/plex</nowiki> |
make it permanent. | make it permanent. | ||
<nowiki>~$ sudo vim /etc/fstab | <nowiki>~$ sudo vim /etc/fstab | ||
... | ... | ||
| − | freenas-server.com:/mnt/pool_02/ | + | freenas-server.com:/mnt/pool_02/Plex /opt/plex nfs defaults 0 0</nowiki> |
=Configure the Plex Server= | =Configure the Plex Server= | ||
Go to: | Go to: | ||
<code>http://<ip address>:32400/web</code> | <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> | ||
Revision as of 04:08, 18 April 2021
Installation
Contents |
Overview
Done on Centos 7 x64
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
Install Plex Server
~$ sudo yum install -y plexmediaserver
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
Configure the Plex Server
Go to:
http://<ip address>:32400/web
Use /opt/plex as your Library
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