Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sesipod:linux:debian:plexinstall [2018/01/21 09:00]
sesipod [Auto mount NFS]
sesipod:linux:debian:plexinstall [2019/11/19 22:53] (current)
sesipod [Installing Tautulli]
Line 1: Line 1:
 ====== Setting up PLEX media server on Debian 8 ====== ====== Setting up PLEX media server on Debian 8 ======
 +
 +Last Updated - 11-06-2019
 +
 +
 +This guide will be the most up to date install for my current plex server install. I will also cover installing Tautulli service to monitor the plex server. ​
 +
 +After install Plex and Tautulli can be accessed by:
 +
 +PLEX
 +  http://​127.0.0.1:​32400/​web/​
 +Tautulli
 +  https://​127.0.0.1:​8181/​
 +
 +----
 +
 +====Installing Pre Requirements====
 +
 +  apt-get update
 +
 +  apt-get install sudo screen curl apt-transport-https nfs-common cifs-utils smbclient openvpn -y
 +
 +I use VPN to get my Plex server outside of my network you can remove openvpn from above if you do not need this. 
  
 ---- ----
Line 5: Line 27:
 ====Installing Plex==== ====Installing Plex====
  
-**Non Plex Pass**¬†+  curl https://​downloads.plex.tv/​plex-keys/PlexSign.key | sudo apt-key add -
-  wget --no-check-certificate ​https://​downloads.plex.tv/​plex-media-server/1.10.1.4602-f54242b6b/​plexmediaserver_1.10.1.4602-f54242b6b_amd64.deb+
  
-  ​dpkg -i plexmediaserver_1.10.1.4602-f54242b6b_amd64.deb+  ​echo deb https://​downloads.plex.tv/​repo/​deb ​./public main | sudo tee /​etc/​apt/​sources.list.d/​plexmediaserver.list
  
-**Plex Pass**+  sudo apt update
  
-  ​wget --no-check-certificate https://​downloads.plex.tv/​plex-media-server/​1.11.0.4666-fc63598ba/​plexmediaserver_1.11.0.4666-fc63598ba_amd64.deb+  ​sudo apt install plexmediaserver
  
-  dpkg -i plexmediaserver_1.11.0.4666-fc63598ba_amd64.deb+Verify Plex server is running
  
-Finding ip of server+  sudo systemctl status plexmediaserver
  
-**Command=** ''​hostname -I''​ 
  
-Visit ''​http:​//​IP-FROM-ABOVE:​32400/​web/''​ to view server.+<color #​ffc90e>​Updating Plex Server</color>
  
-''​service plexmediaserver (start|status|stop)''​+  sudo apt update¬†
 +  sudo apt upgrade
  
 ---- ----
 +
 +====Installing Tautulli====
 +
 +  sudo apt-get install git-core
 +
 +  sudo apt-get install python python-setuptools tzdata
 +
 +  cd /opt
 +
 +  sudo git clone https://​github.com/​Tautulli/​Tautulli.git
 +
 +  sudo addgroup tautulli && sudo adduser --system --no-create-home tautulli --ingroup tautulli
 +
 +  cp /​opt/​Tautulli/​init-scripts/​init.systemd /​lib/​systemd/​system/​tautulli.service
 +
 +  sudo chown tautulli:​tautulli -R /​opt/​Tautulli
 +
 +  systemctl daemon-reload
 +
 +  systemctl enable tautulli.service
 +
 +  systemctl start tautulli.service
 +
 +<color #​ffc90e>​Checking if Tautulli is running</​color>​
 +
 +  systemctl status tautulli.service
 +
 +----
 +
 +<color #​ed1c24>​**EXTRA ITEMS**</​color>​
 +
 +
 +==== DVR Permissions ====
 +
 +Setting the correct permissions for Plex DVR. 
 +
 +You must set the permissions for the folder that you wish to record to as plex:plex. This must be done form the plex server.
 +
 +  sudo chown -R www-data:​www-data \mnt\tv\tv-ota
 +
 +For example I have a folder called tv and in there is a folder called tv-ota where I want plex DVR to place the recordings. Using the above command I have set the tv-ota folder to plex:plex giving plex R/W permissions. ​
 +
 +----
 +
 ====Auto mount CIFS==== ====Auto mount CIFS====