VM Config
VM Specifications:
- CPU: 1vCPU (4 cores)
- RAM: 16 GB
- HD: 100 GB
Change the hostname:
Update the IP:
How-Tos for each of items listed below are avaiable in the Linux section. Before proceeding, make sure you have read and/or completed the following:
- VM has been joined to the Active Directory domain
- A NFS server has been created to host the media
- The NFS server has the local storage configured (most likely LVM)
- The NFS server is configured to share NFS exports
Install
Install the NFS client so you can mount NFS shares.
Download Plex from plex.tv from: https://www.plex.tv/media-server-downloads/
Install Plex
Add Plex to the startup routine.
Start the Plex service.
Firewall Setup
Append the following text to the firewall config file:
Apply the firewall changes:
Create NFS Mount Points
To get a list of NFS shares:
Create a mount point for the NFS shares from nfs01.
Mount the shares.
Add the NFS share to the fstab so that it is mounted every time so that Plex has access to the media.
To unmount a NFS share:
Plex config file and changes
Make a backup of the repo config file.
Enable updates.
Verify the change.
Make a backup of the preferances config file.
Add server and client networks to the config file.
Best to restart before configureing farther.
Plex Web Interface Config
The following settings are stored in the "Preferences.xml" file in the in the following path: "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/" Do not for get the quotes as there is a space in the file path. Also note that the network security/allowed networks were already modified in the "Plex config file and changes" section of this run book.
Open a web browser and go to the following website. Once logged in, click on the wrench of the top right of the window. By default, the advanced settings are not shown.
- Go to: http://plex01.domain.local:32400/web
- Go to the Wrench on the top right of the window
- Verify "SHOW ADVANCED" settings is enabled.
Add Libraries
Open a web browser and go to the following website. Once logged in, click on the wrench of the top right of the window. By default, the advanced settings are not shown.
- Go to: http://plex01.domain.local:32400/web
- Go to the Wrench on the top right of the window
- When adding libraries during testing, Plex did not seem to handle having a single library with multiple folders. The solution was to add the sub-folders and not the higher level folder.
- Browse to the path of your content.
- Repeat the steps 3-4 above for any additional media required (music, movices, tv, etc.).
Certificate Creation
Certificate creation is out of the scope of this document.
Certificate Install
Upload the plex01.pfx cert to:
Set the permissions.
Move the cert to its proper home.
Make Plex use the cert.
- Go to: http://plex01.domain.local:32400/web
- Go to: Wrench > Server Name > Network
- Click "SHOW ADVANCED" to see the necessary fields.
- Enter the following values:
- Save Changes.
References
File naming conventions and permissions
- https://gist.github.com/pjobson/3811b73740a3a09597511c18be845a6c
- https://support.plex.tv/articles/200288596-linux-permissions-guide/
- https://support.plex.tv/articles/naming-and-organizing-your-movie-media-files/